CVE-2026-1940Gstreamer: incomplete fix of cve-2026-1940
An incomplete fix for CVE-2024-47778 allows an out-of-bounds read in gst_wavparse_adtl_chunk() function. The patch added a size validation check lsize + 8 > size, but it does not account for the GST_ROUND_UP_2(lsize) used in the actual offset calculation. When lsize is an odd number, the parser advances more bytes than validated, causing OOB read.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gst-plugins-bad1.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | gst-plugins-bad1.0 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-1940 | |
| Ubuntu 24.04 | gst-plugins-bad1.0 | Fix pending | UBUNTU-CVE-2026-1940 | |
| Ubuntu 22.04 | gst-plugins-bad1.0 | Fix pending | UBUNTU-CVE-2026-1940 | |
| Ubuntu 20.04 | gst-plugins-bad1.0 | Fix pending | UBUNTU-CVE-2026-1940 | |
| Ubuntu 18.04 | gst-plugins-bad1.0 | Fix pending | UBUNTU-CVE-2026-1940 | |
| Ubuntu 16.04 | gst-plugins-bad1.0 | Fix pending | UBUNTU-CVE-2026-1940 | |
| Ubuntu 14.04 | gst-plugins-bad1.0 | Fix pending | UBUNTU-CVE-2026-1940 | |
| Debian 14 | gst-plugins-good1.0 | Fixed | 1.28.1-1 | DEBIAN-CVE-2026-1940 |
| Debian 13 | gst-plugins-good1.0 | Fixed | 1.26.2-1+deb13u2 | DEBIAN-CVE-2026-1940 |
| Debian 12 | gst-plugins-good1.0 | Fixed | 1.22.0-5+deb12u4 | DEBIAN-CVE-2026-1940 |
| Red Hat Enterprise Linux 10 | gstreamer1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gstreamer1-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gstreamer1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gstreamer1-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gstreamer1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gstreamer1-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-gstreamer1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-gstreamer1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gstreamer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gstreamer-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gstreamer-devel-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gstreamer-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gstreamer1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gstreamer1-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gstreamer1-devel-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | gstreamer | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gstreamer-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gstreamer-devel-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gstreamer-tools | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
References
- https://access.redhat.com/security/cve/CVE-2026-1940
- https://bugzilla.redhat.com/show_bug.cgi?id=2436932
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4854
- https://gstreamer.freedesktop.org/security/sa-2026-0001.html
- https://security-tracker.debian.org/tracker/CVE-2026-1940
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.