# CVE-2021-3405: A flaw was found in libebml before 1.4.2.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-23T19:05:27.000Z
- Modified: 2026-06-17T04:05:02.067Z
- Weaknesses: CWE-787
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libebml: before 1.4.2
- matroska libebml: before 1.4.2
- fedoraproject fedora: 32; 33; 34
- debian debian_linux: 9.0

## Every score

- NVD: 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`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/Matroska-Org/libebml/issues/74> (exploit, issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YY7R2JZRO5I6WS62KTJFTZGKYELVFTVB/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHIIMWZKHHELFF4NRDMOOCS3HKK3K4DF/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00016.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-21> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-3405](https://www.cve.org/CVERecord?id=CVE-2021-3405), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3405](https://nvd.nist.gov/vuln/detail/CVE-2021-3405), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3405 · Whole record: https://cve.day/CVE-2021-3405.json · Rebuilt by cve.day 2026-11-25T22:58:00.025Z
