Vulnerabilities / CVE-2021-3185

critical

CVE-2021-3185

gstreamer: buffer overflow in gst_h264_slice_parse_dec_ref_pic_marking

Published Modified CWE 120, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 4.0gst-plugins-bad, gst-plugins-bad-devel1.17.1-2.ph4
debian 10gst-plugins-bad1.01.14.4-1deb10u1
debian 11gst-plugins-bad1.01.18.1-1
debian 12gst-plugins-bad1.01.18.1-1
debian 13gst-plugins-bad1.01.18.1-1
debian 14gst-plugins-bad1.01.18.1-1
debian 9gst-plugins-bad1.01.10.4-1+deb9u1
echogst-plugins-bad1.01.18.1-1
Red Hatgstreamer-plugins-bad-free, gstreamer-plugins-bad-free-devel, gstreamer-plugins-bad-free-devel-docs and 3 moreno fix listed
root.io debian 12rootio-gst-plugins-bad1.01.18.1-1
ubuntu 18.04-ESMgst-plugins-bad1.0no fix listed
Show all 17 entries from 11 sources
SourcePackageFixed in
Photon OS 4.0gst-plugins-bad1.17.1-2.ph4
Photon OS 4.0gst-plugins-bad-devel1.17.1-2.ph4
debian 10gst-plugins-bad1.01.14.4-1deb10u1
debian 11gst-plugins-bad1.01.18.1-1
debian 12gst-plugins-bad1.01.18.1-1
debian 13gst-plugins-bad1.01.18.1-1
debian 14gst-plugins-bad1.01.18.1-1
debian 9gst-plugins-bad1.01.10.4-1+deb9u1
echogst-plugins-bad1.01.18.1-1
Red Hatgstreamer-plugins-bad-freeno fix listed
Red Hatgstreamer-plugins-bad-free-develno fix listed
Red Hatgstreamer-plugins-bad-free-devel-docsno fix listed
Red Hatgstreamer-plugins-bad-free-extrasno fix listed
Red Hatgstreamer1-plugins-bad-freeno fix listed
Red Hatgstreamer1-plugins-bad-free-develno fix listed
root.io debian 12rootio-gst-plugins-bad1.01.18.1-1
ubuntu 18.04-ESMgst-plugins-bad1.0no fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.