CVE-2021-3497 Use after free in gstreamer-plugins-good

High 7.8 Published Updated

Attackers can trigger a use-after-free vulnerability in GStreamer by providing malformed Matroska files, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-3497?

CVE-2021-3497 is a high-severity use after free vulnerability in Debian Debian Linux, published on 19 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.

Weakness: CWE-416

Which versions are affected by CVE-2021-3497?

It affects 3 products.

Linux distribution packages (10)
gstreamer1-plugins-good AlmaLinux:8All versions1.16.1-3.el8
gstreamer1-plugins-good-gtk AlmaLinux:8All versions1.16.1-3.el8
gstreamer1-plugins-good Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-good-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-good-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-good-gtk Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-good-gtk-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-good Rocky Linux:8All versions0:1.16.1-3.el8
gstreamer-plugins-good SUSE:Linux Enterprise Server 12 SP5All versions1.8.3-16.3.1
gstreamer-plugins-good SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.8.3-16.3.1

Products include Debian Debian Linux, Gstreamer Gstreamer, Redhat Enterprise Linux.

How do I fix CVE-2021-3497?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-3497 being exploited?

There is no known exploitation of CVE-2021-3497 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-3497, ALSA-2022:7618, CLEANSTART-2026-KE68922, DEBIAN-CVE-2021-3497, DLA-2640-1, GHSA-9gpj-v2gq-r9fx and 4 more.

Is CVE-2021-3497 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free