CVE-2021-3185: Buffer Overflow

Published Jan 18, 2021
·
Updated

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.

Other sources

A flaw was found in the gstreamer parsing code in the function gsth264sliceparsedecrefpicmarking. An attacker able to trigger this section of code can cause a buffer overflow possibly overflowing the element on the stack leading to memory corruption.

Upstream fix: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/11353b3f6e2f047cc37483d21e6a37ae558896bc

Red Hat

Affected Software

2 affected componentsFixes available
redhat/gst-plugins-bad<1.18.1
1.18.1
Freedesktop gst-plugins-bad<1.18.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/gst-plugins-bad to a version that resolves this vulnerability.

    Fixed in 1.18.1
  2. Upgrade

    Upgrade gstreamer gst-plugins-bad (gstreamer h264 / h264 header parsing) to a version that resolves this vulnerability.

    Fixed in v1.18.1Patch 11353b3f6e2f047cc37483d21e6a37ae558896bc

Event History

Jan 25, 2021
CVE Published
via MITRE·04:33 PM
Data Sourced
via MITRE·04:33 PM
DescriptionWeakness
Jan 26, 2021
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3185?

CVE-2021-3185 is a vulnerability found in the gstreamer h264 component of gst-plugins-bad before v1.18.1.

2

What is the impact of CVE-2021-3185?

The impact of CVE-2021-3185 is stack smashing, memory corruption, and possible code execution.

3

What software is affected by CVE-2021-3185?

The software affected by CVE-2021-3185 includes gst-plugins-bad before v1.18.1 from Red Hat and Gst-plugins-bad from the Freedesktop project.

4

What is the severity of CVE-2021-3185?

The severity of CVE-2021-3185 is critical with a CVSS score of 9.8.

5

How do I fix CVE-2021-3185?

To fix CVE-2021-3185, update gst-plugins-bad to version 1.18.1 or newer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203