CVE-2026-1940 Gstreamer: incomplete fix of cve-2026-1940
An incomplete fix in GStreamer's WAV parser allows out-of-bounds reads, potentially causing crashes or information disclosure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-1940?
CVE-2026-1940 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 23 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-125
Which versions are affected by CVE-2026-1940?
It affects 4 products.
Products include Debian Debian Linux, Freedesktop Gst-Plugins-Good, Gstreamer Gstreamer, Redhat Enterprise Linux.
How do I fix CVE-2026-1940?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-1940 being exploited?
There is no known exploitation of CVE-2026-1940 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2026-1940, ECHO-abfa-bd9c-1987, GHSA-9wvw-r6fm-6wwv, MINI-cr82-wr44-93qx, OESA-2026-2146, UBUNTU-CVE-2026-1940.