{"id":"CVE-2021-3405","aliases":["ALPINE-CVE-2021-3405","DEBIAN-CVE-2021-3405","DLA-2629-1","EUVD-2021-26733","GHSA-xc72-rxv8-3m23","MGASA-2021-0226","MGASA-2021-0338","UBUNTU-CVE-2021-3405","openSUSE-SU-2024:10937-1"],"status":"published","title":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of...","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01729,"percentile":0.77744,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-787"],"published":"2021-02-23T19:05:27Z","modified":"2026-11-03T06:32:58Z","fixes":[{"ecosystem":"Alpine:v3.13","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"libebml","fixed_in":["1.4.2-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libebml","fixed_in":["1.4.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libebml","fixed_in":["1.4.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libebml","fixed_in":["1.4.2-1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"libebml","fixed_in":["1.3.4-1+deb9u2"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"libebml","fixed_in":["1.4.2-1.mga7"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"mkvtoolnix","fixed_in":["32.0.0-2.1.mga7"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"libmatroska","fixed_in":["1.5.0-2.1.mga7"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"libebml","fixed_in":["1.4.2-1.mga8"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.13","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.4-1+deb9u2"}]}],"versions":["1.3.4-1","1.3.4-1+deb9u1"]},{"source":"osv","ecosystem":"Mageia:7","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1.mga7"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"mkvtoolnix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"32.0.0-2.1.mga7"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"libmatroska","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2.1.mga7"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libebml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"matroska","product":"libebml"}],"references":[{"url":"https://github.com/Matroska-Org/libebml/issues/74","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YY7R2JZRO5I6WS62KTJFTZGKYELVFTVB/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHIIMWZKHHELFF4NRDMOOCS3HKK3K4DF/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00016.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/202208-21","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3405"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UHIIMWZKHHELFF4NRDMOOCS3HKK3K4DF/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YY7R2JZRO5I6WS62KTJFTZGKYELVFTVB/"},{"url":"https://github.com/advisories/GHSA-xc72-rxv8-3m23"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-3405","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3405","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0226.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28278","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/7COLX6WFFOI3RIOY2IOXWASU3QKAOWKO/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7/","tags":["web"]},{"url":"https://www.debian.org/lts/security/2021/dla-2629","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2021-0338.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29222","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-3405","tags":["report"]},{"url":"https://github.com/Matroska-Org/libebml/pull/76","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3405","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3405","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-3405","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2021-02-23T19:05:27Z","modified":"2024-08-03T16:53:17.531Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:33:03.671751Z"}],"euvd":[{"id":"EUVD-2021-26733","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2021-02-23T19:05:27Z","modified":"2024-08-03T16:53:17Z","updated_at":"2026-11-03T03:25:13.052236Z"}],"ghsa":[{"id":"GHSA-xc72-rxv8-3m23","title":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of...","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2022-05-24T17:42:57Z","modified":"2023-01-27T05:03:02Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T14:42:09.126228Z"}],"nvd":[{"id":"CVE-2021-3405","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2021-02-23T20:15:12.087Z","modified":"2026-06-17T04:05:02.067Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:50.031227Z"}],"osv":[{"id":"ALPINE-CVE-2021-3405","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2021-02-23T20:15:12.087Z","modified":"2026-11-03T06:32:58.434337264Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:16:09.603409Z"},{"id":"CVE-2021-3405","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2021-02-23T20:15:12.087Z","modified":"2026-10-20T14:23:26.78227628Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"DEBIAN-CVE-2021-3405","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2021-02-23T20:15:12.087Z","modified":"2026-10-23T18:02:30.145964244Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"UBUNTU-CVE-2021-3405","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml.","status":"published","published":"2021-02-23T20:15:00Z","modified":"2026-09-09T00:30:17.596329572Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:27.870979Z"},{"id":"DLA-2629-1","title":"libebml - security update","status":"published","published":"2021-04-18T00:00:00Z","modified":"2026-03-09T01:21:50.783027Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"MGASA-2021-0226","title":"Updated libebml packages fix security vulnerabilities","description":"Updated libebml packages fix security vulnerabilities:\n\nHeap use-after-free when parsing malformed file.\n\nA flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml (CVE-2021-3405). \n\nThe mkvtoolnix, libmatroska packages have been rebuilt for the\nupdated libebml.\n","status":"published","published":"2021-06-08T14:33:02Z","modified":"2026-04-16T04:42:25.065592137Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"MGASA-2021-0338","title":"Updated libebml packages fix a security vulnerability","description":"A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the\nimplementation of EbmlString::ReadData and EbmlUnicodeString::ReadData in\nlibebml (CVE-2021-3405).\n","status":"published","published":"2021-07-10T20:00:34Z","modified":"2026-04-16T04:44:13.671684135Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2024:10937-1","title":"libebml-devel-1.4.2-2.3 on GA media","description":"These are all security issues fixed in the libebml-devel-1.4.2-2.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:56:25.623088Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
