CVE-2021-3405
A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2021-3405- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-3405- Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2021-26733 No score
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.
- Record
EUVD-2021-26733- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xc72-rxv8-3m23
6.5
A flaw was found in libebml before 1.4.2. A heap overflow bug exists in the implementation of...
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.
- Record
GHSA-xc72-rxv8-3m23- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-3405
6.5
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.
- Record
ALPINE-CVE-2021-3405- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
6.5
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.
- Record
CVE-2021-3405- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2021-3405
6.5
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.
- Record
DEBIAN-CVE-2021-3405- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3405
6.5
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.
- Record
UBUNTU-CVE-2021-3405- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2021-0226 No score
Updated libebml packages fix security vulnerabilities
Updated libebml packages fix security vulnerabilities:
Heap use-after-free when parsing malformed file.
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 (CVE-2021-3405).
The mkvtoolnix, libmatroska packages have been rebuilt for the updated libebml.
- Record
MGASA-2021-0226- Updated
- 2026-11-02
OSVMGASA-2021-0338 No score
Updated libebml packages fix a security vulnerability
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 (CVE-2021-3405).
- Record
MGASA-2021-0338- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10937-1 No score
libebml-devel-1.4.2-2.3 on GA media
These are all security issues fixed in the libebml-devel-1.4.2-2.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10937-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libebmlAlpine:v3.13 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.14 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.15 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.16 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.17 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.18 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.19 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.20 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.21 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.22 |
before 1.4.2-r0 | 1.4.2-r0 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libebmlAlpine:v3.23 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlAlpine:v3.24 |
before 1.4.2-r0 | 1.4.2-r0 |
libebmlDebian:12 |
before 1.4.2-1 | 1.4.2-1 |
libebmlDebian:13 |
before 1.4.2-1 | 1.4.2-1 |
libebmlDebian:14 |
before 1.4.2-1 | 1.4.2-1 |
libebmlDebian:9 |
before 1.3.4-1+deb9u2, plus listed versions 1.3.4-11.3.4-1+deb9u1 |
1.3.4-1+deb9u2 |
libebmlMageia:7 |
before 1.4.2-1.mga7 | 1.4.2-1.mga7 |
mkvtoolnixMageia:7 |
before 32.0.0-2.1.mga7 | 32.0.0-2.1.mga7 |
libmatroskaMageia:7 |
before 1.5.0-2.1.mga7 | 1.5.0-2.1.mga7 |
libebmlMageia:8 |
before 1.4.2-1.mga8 | 1.4.2-1.mga8 |
libebmlUbuntu:25.10 |
All versions, plus listed versions 1.4.5-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3405 is a medium vulnerability (CVSS 6.5) in Matroska Libebml, published February 23, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.73%, the 77th percentile. Fixed in libebml 1.4.2-r0.
References
github.com/Matroska-Org/libebml/issues/74
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YY7R2JZRO5I6WS62KTJFTZGKYELVFTVB
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHIIMWZKHHELFF4NRDMOOCS3HKK3K4DF
lists.debian.org/debian-lts-announce/2021/04/msg00016.html
security.gentoo.org/glsa/202208-21
Show 18 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-3405
lists.fedoraproject.org/archives/list/[email protected]/message/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7
lists.fedoraproject.org/archives/list/[email protected]/message/UHIIMWZKHHELFF4NRDMOOCS3HKK3K4DF
lists.fedoraproject.org/archives/list/[email protected]/message/YY7R2JZRO5I6WS62KTJFTZGKYELVFTVB
github.com/advisories/GHSA-xc72-rxv8-3m23
security.alpinelinux.org/vuln/CVE-2021-3405
security-tracker.debian.org/tracker/CVE-2021-3405
advisories.mageia.org/MGASA-2021-0226.html
bugs.mageia.org/show_bug.cgi?id=28278
lists.fedoraproject.org/archives/list/[email protected]/thread/7COLX6WFFOI3RIOY2IOXWASU3QKAOWKO
lists.fedoraproject.org/archives/list/[email protected]/thread/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7
debian.org/lts/security/2021/dla-2629
advisories.mageia.org/MGASA-2021-0338.html
bugs.mageia.org/show_bug.cgi?id=29222
ubuntu.com/security/CVE-2021-3405
github.com/Matroska-Org/libebml/pull/76
cve.org/CVERecord?id=CVE-2021-3405
suse.com/security/cve/CVE-2021-3405