CVE-2021-31347: ezXML - Buffer Overflow
- Cve: CVE-2021-31347
- Name: ezXML - Buffer Overflow
- Description: An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_parse_str() performs incorrect memory handling while parsing crafted XML files (writing outside a memory region created by mmap).
- Impact: Memory corruption can lead to application crashes or arbitrary code execution.
- Remediation: Update to the latest version of ezXML or apply patches that fix the memory handling issue.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.01106
- Epss percentile: 0.66675
- Assignee: [email protected]
- Published at: 2021-04-16T18:15:13Z
- Age in days: 2048
- Modified at: 2026-06-17T03:51:35Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31347
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-91 | XML Injection |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://sourceforge.net/p/ezxml/bugs/27/ | nvd | 2021-04-16 |
References
| Url | Source | Tags |
|---|---|---|
| https://sourceforge.net/p/ezxml/bugs/27/ | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/07/msg00005.html | nvd | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ezxml_project:ezxml | = 0.8.6 | no | nvd | /v1/products/ezxml_project/ezxml |
| debian:debian_linux | = 9.0 | no | nvd | /v1/products/debian/debian_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-04-16
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports