cve.bz

CVE-2021-3185 freedesktop gst-plugins-bad: Out-of-bounds Write

9.8 criticalEPSS 2.5%Fix available

Critical (9.8) in freedesktop gst-plugins-bad. EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the gstreamer h264 component of gst-plugins-bad before v1.18.1 where when parsing a h264 header, an attacker could cause the stack to be smashed, memory corruption and possibly code execution.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3185 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3185?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3185?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3185 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freedesktop:gst-plugins-badbefore 1.18.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9gst-plugins-bad1.01.10.4-1+deb9u1DLA-2528-1
Debian10gst-plugins-bad1.01.14.4-1deb10u1DSA-4833-1
Debian12, 13, 14gst-plugins-bad1.01.18.1-1DEBIAN-CVE-2021-3185
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSgst-plugins-bad1.0no fix listedUBUNTU-CVE-2021-3185
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 moregstreamer-plugins-bad1.12.5-3.6.1SUSE-SU-2021:1904-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moregstreamer-plugins-bad1.8.3-18.3.5SUSE-SU-2021:1875-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3 and 3 moregstreamer-plugins-base1.16.3-4.3.1SUSE-SU-2021:1819-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Desktop Applications 15 SP2, Linux Enterprise Module for Package Hub 15 SP2 and 1 moregstreamer1.16.3-3.3.1SUSE-SU-2021:1819-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3gstreamer, gstreamer-plugins-good1.16.3-3.3.1SUSE-SU-2021:1819-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Desktop Applications 15 SP2gstreamer-plugins-bad1.16.3-4.4.1SUSE-SU-2021:1819-1
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Desktop Applications 15 SP3gstreamer-plugins-bad1.16.3-9.3.1SUSE-SU-2021:1944-1
SUSELinux Enterprise Server 12 SP2-BCLgstreamer-plugins-bad1.2.4-3.7.1SUSE-SU-2021:1873-1
SUSELinux Enterprise Workstation Extension 15 SP2, Linux Enterprise Workstation Extension 15 SP3gstreamer-plugins-ugly1.16.3-3.3.1SUSE-SU-2021:1819-1
openSUSELeap 15.2gstreamer, gstreamer-plugins-good, gstreamer-plugins-ugly1.16.3-lp152.2.3.1openSUSE-SU-2021:0822-1
openSUSELeap 15.2gstreamer-plugins-bad, gstreamer-plugins-base1.16.3-lp152.3.3.1openSUSE-SU-2021:0822-1
openSUSELeap 15.3gstreamer, gstreamer-plugins-good, gstreamer-plugins-ugly1.16.3-3.3.1openSUSE-SU-2021:1819-1
openSUSELeap 15.3gstreamer-plugins-bad1.16.3-lp153.3.3.1openSUSE-SU-2021:1012-1
openSUSELeap 15.3gstreamer-plugins-base1.16.3-4.3.1openSUSE-SU-2021:1819-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5gstreamer-plugins-bad-freeOut of support scope
Red Hat Enterprise Linux 6gstreamer-plugins-bad-freeOut of support scope
Red Hat Enterprise Linux 7gstreamer-plugins-bad-freeWill not fix
Red Hat Enterprise Linux 8gstreamer1-plugins-bad-freeWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3185.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON