CVE-2021-3497 json
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
published 2021-04-19 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26818
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
Patch / fix
- gstreamer gstreamer 1.18.4
- gst-plugins-good1.0 Debian 14, Debian 13, Debian 12 1.18.4-2
debian advisories DEBIAN-CVE-2021-3497
- gst-plugins-good1.0 Ubuntu 16.04 LTS 1.8.3-1ubuntu0.5
- gst-plugins-good1.0 Ubuntu 18.04 LTS 1.14.5-0ubuntu1~18.04.2
- gst-plugins-good1.0 Ubuntu 20.04 LTS 1.16.2-1ubuntu2.1
ubuntu advisories UBUNTU-CVE-2021-3497
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gstreamer1-plugins-good RHEL 8 1.16.1-3.el8
- gstreamer1-plugins-good-gtk RHEL 8 1.16.1-3.el8
red hat advisories RHSA-2022:7618
- gstreamer-plugins-good SLES for SAP 12 SP5, SLES 12 SP5 1.8.3-16.3.1
- gstreamer-plugins-good SLE Module for Basesystem 15 SP3, SLE Module for Basesystem 15 SP2 1.16.3-3.6.1
- gstreamer-plugins-good SLES for SAP 15 SP1, SLES 15 SP1-LTSS 1.12.5-150000.3.7.2
suse advisories SUSE-SU-2023:3688-1SUSE-SU-2021:2916-1SUSE-SU-2021:2915-1
- gstreamer-plugins-good openSUSE Leap 15.2 1.16.3-lp152.2.6.1
- gstreamer-plugins-good openSUSE Leap 15.3 1.16.3-3.6.1
opensuse advisories openSUSE-SU-2021:1230-1openSUSE-SU-2021:2915-1
- gstreamer1-plugins-good AlmaLinux 8 1.16.1-3.el8
- gstreamer1-plugins-good-gtk AlmaLinux 8 1.16.1-3.el8
almalinux advisories ALSA-2022:7618
- gstreamer1-plugins-good Rocky Linux 8 1.16.1-3.el8
rocky linux advisories RLSA-2022:7618
- gstreamer Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 1.18.4-r0
- gst-plugins-good Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 1.18.4-r0
alpine advisories ALPINE-CVE-2021-3497
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3497 updated cvss 7.8
gstreamer-plugins-good: Use-after-free in matroska demuxing
-
Red Hat Enterprise Linux 6 gstreamer-plugins-goodaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 gstreamer-plugins-good, gstreamer1-plugins-goodaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) gstreamer1-plugins-good 1.16.1-3.el8, gstreamer1-plugins-good-gtk 1.16.1-3.el8fixed: vendor fix RHSA-2022:7618
-
Red Hat Enterprise Linux 9 gstreamer1-plugins-good, gstreamer1-plugins-good-gtknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.22% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- n/a gstreamer-plugins-good
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1945339
issue-tracking, patch, third-party-advisory
-
debian.org
/security/2021/dsa-4900
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202208-31
vendor-advisory, third-party-advisory
-
gstreamer.freedesktop.org
/security/sa-2021-0002.html
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2021/04/msg00027.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-3497
- NVD CVE-2021-3497
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.