{"id":"UBUNTU-CVE-2021-3185","details":"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.","modified":"2026-04-27T16:37:28.073114Z","published":"2021-01-26T18:16:00Z","upstream":["CVE-2021-3185"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3185"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/01/20/1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3185"}],"affected":[{"package":{"name":"gst-plugins-bad1.0","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-bad1.0@1.2.4-1~ubuntu1.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-3ubuntu5","1.2.1-1ubuntu1","1.2.1-1ubuntu2","1.2.2-1ubuntu1","1.2.2-1ubuntu2","1.2.2-1ubuntu4","1.2.3-1ubuntu1","1.2.3-1ubuntu2","1.2.4-1~ubuntu1","1.2.4-1~ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"gstreamer1.0-hybris","binary_version":"1.2.4-1~ubuntu1.1"},{"binary_name":"gstreamer1.0-plugins-bad","binary_version":"1.2.4-1~ubuntu1.1"},{"binary_version":"1.2.4-1~ubuntu1.1","binary_name":"gstreamer1.0-plugins-bad-faad"},{"binary_name":"gstreamer1.0-plugins-bad-videoparsers","binary_version":"1.2.4-1~ubuntu1.1"},{"binary_name":"libgstreamer-plugins-bad1.0-0","binary_version":"1.2.4-1~ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3185.json"}},{"package":{"name":"gst-plugins-bad1.0","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-bad1.0@1.8.3-1ubuntu0.2+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1ubuntu1","1.6.1-1ubuntu1","1.6.2-1ubuntu1","1.7.1-1ubuntu1","1.7.1-1ubuntu3","1.7.1-1ubuntu4","1.7.2-1ubuntu1","1.7.90-1ubuntu2","1.7.91-1ubuntu1","1.8.0-1ubuntu1","1.8.1-1ubuntu0.1","1.8.2-1ubuntu0.1","1.8.2-1ubuntu0.2","1.8.3-1ubuntu0.2","1.8.3-1ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-gst-plugins-bad-1.0","binary_version":"1.8.3-1ubuntu0.2+esm1"},{"binary_name":"gstreamer1.0-hybris","binary_version":"1.8.3-1ubuntu0.2+esm1"},{"binary_version":"1.8.3-1ubuntu0.2+esm1","binary_name":"gstreamer1.0-plugins-bad"},{"binary_name":"gstreamer1.0-plugins-bad-faad","binary_version":"1.8.3-1ubuntu0.2+esm1"},{"binary_version":"1.8.3-1ubuntu0.2+esm1","binary_name":"gstreamer1.0-plugins-bad-videoparsers"},{"binary_name":"libgstreamer-plugins-bad1.0-0","binary_version":"1.8.3-1ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3185.json"}},{"package":{"name":"gst-plugins-bad1.0","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-bad1.0@1.14.5-0ubuntu1~18.04.1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.3-1ubuntu1","1.12.3-1ubuntu2","1.12.3-2ubuntu1","1.12.4-2ubuntu1","1.12.4-2ubuntu2","1.13.1-1ubuntu1","1.13.91-1ubuntu1","1.14.0-1ubuntu1","1.14.1-1ubuntu1~ubuntu18.04.1","1.14.4-1ubuntu1~ubuntu18.04.1","1.14.5-0ubuntu1~18.04.1","1.14.5-0ubuntu1~18.04.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-gst-plugins-bad-1.0","binary_version":"1.14.5-0ubuntu1~18.04.1+esm1"},{"binary_name":"gstreamer1.0-opencv","binary_version":"1.14.5-0ubuntu1~18.04.1+esm1"},{"binary_name":"gstreamer1.0-plugins-bad","binary_version":"1.14.5-0ubuntu1~18.04.1+esm1"},{"binary_name":"libgstreamer-opencv1.0-0","binary_version":"1.14.5-0ubuntu1~18.04.1+esm1"},{"binary_name":"libgstreamer-plugins-bad1.0-0","binary_version":"1.14.5-0ubuntu1~18.04.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3185.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}