# CVE-2021-31229: An issue was discovered in libezxml.a in ezXML 0.8.6.

- 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): 0.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-15T14:28:01.000Z
- Modified: 2026-06-17T03:51:29.187Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_internal_dtd() performs incorrect memory handling while parsing crafted XML files, which leads to an out-of-bounds write of a one byte constant.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ezxml_project ezxml: 0.8.6
- 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://sourceforge.net/p/ezxml/bugs/26/> (exploit, issue-tracking, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/07/msg00005.html> (mailing-list, third-party-advisory)

## Sources

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

---

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