CVE-2021-31598: An issue was discovered in libezxml.a in ezXML 0.8.6
CVE-2021-31598 is a high-severity flaw (CVSS 7.5) affecting ezxml, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_decode() performs incorrect memory handling while parsing crafted XML files, leading to a heap-based buffer overflow.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.3% (top 30%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2021-04-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-31598?
ezxml: downgrade or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-31598 being exploited?
CVE-2021-31598 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-31598 affect?
CVE-2021-31598 affects ezxml, debian linux. Severity is high (CVSS 7.5). An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_decode() performs incorrect memory handling while parsing crafted XML files, leading to a heap-based buffer overflow.
How urgent is CVE-2021-31598?
Priority 54/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2022-30045 MEDIUM 6.5 DOWNGRADE An issue was discovered in libezxml.a in ezXML 0.8.6
- CVE-2021-31348 MEDIUM 6.5 DOWNGRADE MITIGATE An issue was discovered in libezxml.a in ezXML 0.8.6
- CVE-2021-31347 MEDIUM 6.5 DOWNGRADE MITIGATE An issue was discovered in libezxml.a in ezXML 0.8.6
- CVE-2021-31229 MEDIUM 6.5 DOWNGRADE MITIGATE An issue was discovered in libezxml.a in ezXML 0.8.6
- CVE-2021-26222 HIGH 8.1 UPGRADE The ezxml_new function in ezXML 0.8.6 and earlier is vulnerable to OOB write when opening XML file after exhau