CVE-2021-3497
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing...
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
CVE-2021-3497- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
CVE-2021-3497- Weakness
- CWE-416
- Updated
- 2026-11-02
EUVDEUVD-2021-26818 No score
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
EUVD-2021-26818- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9gpj-v2gq-r9fx
7.8
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing...
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
GHSA-9gpj-v2gq-r9fx- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-416
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-3497
7.8
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
ALPINE-CVE-2021-3497- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2021-3497
7.8
CVE-2021-3497 does not affect BellSoft software
- Record
BELL-CVE-2021-3497- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 14 moreShow less
OSV
7.8
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
CVE-2021-3497- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-3497
7.8
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
DEBIAN-CVE-2021-3497- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2021-1322
7.8
gstreamer1-plugins-good security update
GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plugins.
Security Fix(es):
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.(CVE-2021-3497)
GStreamer before 1.18.4 might cause heap corruption when parsing certain malformed Matroska files.(CVE-2021-3498)
- Record
OESA-2021-1322- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2022:7618
7.8
Red Hat Security Advisory: gstreamer1-plugins-good security update
- Record
RHSA-2022:7618- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2022:7618
7.8
Moderate: gstreamer1-plugins-good security update
GStreamer is a streaming media framework based on graphs of filters that operate on media data. The gstreamer1-plugins-good packages contain a collection of well-supported plug-ins of good quality and under the LGPL license.
Security Fix(es):
- gstreamer-plugins-good: Use-after-free in matroska demuxing (CVE-2021-3497)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.7 Release Notes linked from the References section.
- Record
RLSA-2022:7618- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3497
7.8
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
- Record
UBUNTU-CVE-2021-3497- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2022:7618 No score
Moderate: gstreamer1-plugins-good security update
GStreamer is a streaming media framework based on graphs of filters that operate on media data. The gstreamer1-plugins-good packages contain a collection of well-supported plug-ins of good quality and under the LGPL license.
Security Fix(es):
- gstreamer-plugins-good: Use-after-free in matroska demuxing (CVE-2021-3497)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2022:7618- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1230-1 No score
Security update for gstreamer-plugins-good
This update for gstreamer-plugins-good fixes the following issues:
- CVE-2021-3498: Matroskademux: initialize track context out parameter to NULL before parsing (bsc#1184735).
- CVE-2021-3497: Matroskademux: Fix extraction of multichannel WavPack (bsc#1184739).
This update was imported from the SUSE:SLE-15-SP2:Update update project.
- Record
openSUSE-SU-2021:1230-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:2915-1 No score
Security update for gstreamer-plugins-good
This update for gstreamer-plugins-good fixes the following issues:
- CVE-2021-3498: Matroskademux: initialize track context out parameter to NULL before parsing (bsc#1184735).
- CVE-2021-3497: Matroskademux: Fix extraction of multichannel WavPack (bsc#1184739).
- Record
openSUSE-SU-2021:2915-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11778-1 No score
gstreamer-plugins-good-1.18.5-3.1 on GA media
These are all security issues fixed in the gstreamer-plugins-good-1.18.5-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11778-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2915-1 No score
Security update for gstreamer-plugins-good
This update for gstreamer-plugins-good fixes the following issues:
- CVE-2021-3498: Matroskademux: initialize track context out parameter to NULL before parsing (bsc#1184735).
- CVE-2021-3497: Matroskademux: Fix extraction of multichannel WavPack (bsc#1184739).
- Record
SUSE-SU-2021:2915-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2916-1 No score
Security update for gstreamer-plugins-good
This update for gstreamer-plugins-good fixes the following issues:
- CVE-2021-3497: Matroskademux: Fix extraction of multichannel WavPack (bsc#1184739).
- Record
SUSE-SU-2021:2916-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3688-1 No score
Security update for gstreamer-plugins-good
This update for gstreamer-plugins-good fixes the following issues:
- CVE-2021-3497: Matroskademux: Fix extraction of multichannel WavPack (bsc#1184739).
- CVE-2022-1920: Fixed integer overflow in WavPack header handling code (bsc#1201688).
- CVE-2022-1921: Fixed integer overflow resulting in heap corruption in avidemux element (bsc#1201693).
- CVE-2022-1922: Fixed integer overflows in mkv demuxing (bsc#1201702).
- CVE-2022-1923: Fixed integer overflows in mkv demuxing using bzip (bsc#1201704).
- CVE-2022-1924: Fixed integer overflows in mkv demuxing using lzo (bsc#1201706).
- CVE-2022-1925: Fixed integer overflows in mkv demuxing using HEADERSTRIP (bsc#1201707).
- CVE-2022-2122: Fixed integer overflows in qtdemux using zlib (bsc#1201708).
- CVE-2023-37327: Fixed GStreamer FLAC File Parsing Integer Overflow (bsc#1213128).
- Record
SUSE-SU-2023:3688-1- Updated
- 2026-11-02
OSVUSN-4928-1 No score
gst-plugins-good1.0 vulnerabilities
It was discovered that GStreamer Good Plugins incorrectly handled certain files. An attacker could possibly use this issue to cause access sensitive information or cause a crash. (CVE-2021-3497)
It was discovered that GStreamer Good Plugins incorrectly handled certain files. An attacker could possibly use this issue to execute arbitrary code or cause a crash. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 20.10. (CVE-2021-3498)
- Record
USN-4928-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gst-plugins-goodAlpine:v3.13 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.14 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.15 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.16 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.17 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.18 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.19 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.20 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.21 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.22 |
before 1.18.4-r0 | 1.18.4-r0 |
Show 43 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gst-plugins-goodAlpine:v3.23 |
before 1.18.4-r0 | 1.18.4-r0 |
gst-plugins-goodAlpine:v3.24 |
before 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.13 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.14 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.15 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.16 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.17 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.18 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.19 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.20 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.21 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.22 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.23 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamerAlpine:v3.24 |
0.10.0 up to 1.18.4-r0 | 1.18.4-r0 |
gstreamer1-plugins-goodAlmaLinux:8 |
before 1.16.1-3.el8 | 1.16.1-3.el8 |
gstreamer1-plugins-good-gtkAlmaLinux:8 |
before 1.16.1-3.el8 | 1.16.1-3.el8 |
gst-plugins-good1.0Debian:12 |
before 1.18.4-2 | 1.18.4-2 |
gst-plugins-good1.0Debian:13 |
before 1.18.4-2 | 1.18.4-2 |
gst-plugins-good1.0Debian:14 |
before 1.18.4-2 | 1.18.4-2 |
gst-plugins-good1.0Debian:9 |
before 1.10.4-1+deb9u1, plus listed versions 1.10.4-1 |
1.10.4-1+deb9u1 |
gst-plugins-good1.0Debian:10 From an advisory covering 2 CVEs |
before 1.14.4-1+deb10u1, plus listed versions 1.14.4-1 |
1.14.4-1+deb10u1 |
gstreamer1-plugins-goodopenEuler:20.03-LTS-SP1 From an advisory covering 2 CVEs |
before 1.16.2-2.oe1 | 1.16.2-2.oe1 |
gstreamer1-plugins-goodopenEuler:20.03-LTS-SP2 From an advisory covering 2 CVEs |
before 1.16.2-2.oe1 | 1.16.2-2.oe1 |
gstreamer1-plugins-goodRed Hat:enterprise_linux:8::appstream |
before 0:1.16.1-3.el8 | 0:1.16.1-3.el8 |
gstreamer1-plugins-good-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.16.1-3.el8 | 0:1.16.1-3.el8 |
gstreamer1-plugins-good-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:1.16.1-3.el8 | 0:1.16.1-3.el8 |
gstreamer1-plugins-good-gtkRed Hat:enterprise_linux:8::appstream |
before 0:1.16.1-3.el8 | 0:1.16.1-3.el8 |
gstreamer1-plugins-good-gtk-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.16.1-3.el8 | 0:1.16.1-3.el8 |
gstreamer1-plugins-goodRocky Linux:8 |
before 0:1.16.1-3.el8 | 0:1.16.1-3.el8 |
gstreamer-plugins-goodSUSE:Linux Enterprise Module for Basesystem 15 SP2 From an advisory covering 2 CVEs |
before 1.16.3-3.6.1 | 1.16.3-3.6.1 |
gstreamer-plugins-goodSUSE:Linux Enterprise Module for Basesystem 15 SP3 From an advisory covering 2 CVEs |
before 1.16.3-3.6.1 | 1.16.3-3.6.1 |
gstreamer-plugins-goodSUSE:Linux Enterprise Server 12 SP5 |
before 1.8.3-16.3.1 | 1.8.3-16.3.1 |
gstreamer-plugins-goodSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.8.3-16.3.1 | 1.8.3-16.3.1 |
gstreamer-plugins-goodSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 9 CVEs |
before 1.12.5-150000.3.7.2 | 1.12.5-150000.3.7.2 |
gstreamer-plugins-goodSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 9 CVEs |
before 1.12.5-150000.3.7.2 | 1.12.5-150000.3.7.2 |
gst-plugins-good1.0Ubuntu:16.04:LTS |
before 1.8.3-1ubuntu0.5, plus listed versions 1.6.0-1ubuntu11.6.1-1ubuntu11.6.2-1ubuntu11.7.1-1ubuntu11.7.2-1ubuntu1 Show 9 moreShow less1.7.90-1ubuntu11.7.91-1ubuntu11.8.0-1ubuntu11.8.1-1ubuntu0.11.8.2-1ubuntu0.11.8.2-1ubuntu0.21.8.2-1ubuntu0.31.8.3-1ubuntu0.31.8.3-1ubuntu0.4 |
1.8.3-1ubuntu0.5 |
gst-plugins-good1.0Ubuntu:18.04:LTS |
before 1.14.5-0ubuntu1~18.04.2, plus listed versions 1.12.3-1ubuntu11.12.4-1ubuntu11.13.1-1ubuntu11.13.91-1ubuntu11.14.0-1ubuntu11.14.1-1ubuntu1~ubuntu18.04.11.14.4-1ubuntu1~ubuntu18.04.11.14.5-0ubuntu1~18.04.1 |
1.14.5-0ubuntu1~18.04.2 |
gst-plugins-good1.0Ubuntu:20.04:LTS |
before 1.16.2-1ubuntu2.1, plus listed versions 1.16.1-1ubuntu11.16.2-1ubuntu11.16.2-1ubuntu2 |
1.16.2-1ubuntu2.1 |
gst-plugins-good1.0Ubuntu:16.04:LTS From an advisory covering 2 CVEs |
before 1.8.3-1ubuntu0.5, plus listed versions 1.6.0-1ubuntu11.6.1-1ubuntu11.6.2-1ubuntu11.7.1-1ubuntu11.7.2-1ubuntu1 Show 9 moreShow less1.7.90-1ubuntu11.7.91-1ubuntu11.8.0-1ubuntu11.8.1-1ubuntu0.11.8.2-1ubuntu0.11.8.2-1ubuntu0.21.8.2-1ubuntu0.31.8.3-1ubuntu0.31.8.3-1ubuntu0.4 |
1.8.3-1ubuntu0.5 |
gst-plugins-good1.0Ubuntu:18.04:LTS From an advisory covering 2 CVEs |
before 1.14.5-0ubuntu1~18.04.2, plus listed versions 1.12.3-1ubuntu11.12.4-1ubuntu11.13.1-1ubuntu11.13.91-1ubuntu11.14.0-1ubuntu11.14.1-1ubuntu1~ubuntu18.04.11.14.4-1ubuntu1~ubuntu18.04.11.14.5-0ubuntu1~18.04.1 |
1.14.5-0ubuntu1~18.04.2 |
gst-plugins-good1.0Ubuntu:20.04:LTS From an advisory covering 2 CVEs |
before 1.16.2-1ubuntu2.1, plus listed versions 1.16.1-1ubuntu11.16.2-1ubuntu11.16.2-1ubuntu2 |
1.16.2-1ubuntu2.1 |
gstreamer-plugins-goodopenSUSE:Leap 15.2 From an advisory covering 2 CVEs |
before 1.16.3-lp152.2.6.1 | 1.16.3-lp152.2.6.1 |
gstreamer-plugins-goodopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 1.16.3-3.6.1 | 1.16.3-3.6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3497 is a high vulnerability (CVSS 7.8) in Gstreamer, published April 19, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.22%, the 68th percentile. Fixed in gst-plugins-good 1.18.4-r0.
References
bugzilla.redhat.com/show_bug.cgi?id=1945339
gstreamer.freedesktop.org/security/sa-2021-0002.html
debian.org/security/2021/dsa-4900
lists.debian.org/debian-lts-announce/2021/04/msg00027.html
security.gentoo.org/glsa/202208-31
nvd.nist.gov/vuln/detail/CVE-2021-3497
Show 45 moreShow less
github.com/advisories/GHSA-9gpj-v2gq-r9fx
security.alpinelinux.org/vuln/CVE-2021-3497
access.redhat.com/errata/RHSA-2022:7618
access.redhat.com/security/cve/CVE-2021-3497
bugzilla.redhat.com/1945339
errata.almalinux.org/8/ALSA-2022-7618.html
docs.bell-sw.com/security/cves/CVE-2021-3497
security-tracker.debian.org/tracker/CVE-2021-3497
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1322
nvd.nist.gov/vuln/detail/CVE-2021-3498
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.7_release_notes/index
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7618.json
cve.org/CVERecord?id=CVE-2021-3497
errata.rockylinux.org/RLSA-2022:7618
suse.com/support/update/announcement/2021/suse-su-20212915-1
bugzilla.suse.com/1184735
bugzilla.suse.com/1184739
suse.com/security/cve/CVE-2021-3497
suse.com/security/cve/CVE-2021-3498
suse.com/support/update/announcement/2021/suse-su-20212916-1
suse.com/support/update/announcement/2023/suse-su-20233688-1
bugzilla.suse.com/1201688
bugzilla.suse.com/1201693
bugzilla.suse.com/1201702
bugzilla.suse.com/1201704
bugzilla.suse.com/1201706
bugzilla.suse.com/1201707
bugzilla.suse.com/1201708
bugzilla.suse.com/1213128
suse.com/security/cve/CVE-2022-1920
suse.com/security/cve/CVE-2022-1921
suse.com/security/cve/CVE-2022-1922
suse.com/security/cve/CVE-2022-1923
suse.com/security/cve/CVE-2022-1924
suse.com/security/cve/CVE-2022-1925
suse.com/security/cve/CVE-2022-2122
suse.com/security/cve/CVE-2023-37327
ubuntu.com/security/CVE-2021-3497
gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/commit/9181191511f9c0be6a89c98b311f49d66bd46dc3?merge_request_iid=903
ubuntu.com/security/notices/USN-4928-1
ubuntu.com/security/CVE-2021-3498
lists.opensuse.org/archives/list/[email protected]/thread/GU3E72N7AIZNV6RLT3OM7V74BRCXVX4R
lists.opensuse.org/archives/list/[email protected]/thread/D4IXFQFYFPMAJPYIAVGSDNJC7W6WWQID
suse.com/security/cve/CVE-2021-3185