SecurityContext

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

IdName
CWE-91XML Injection

Public exploits

UrlSourceAdded date
https://sourceforge.net/p/ezxml/bugs/27/nvd2021-04-16

References

UrlSourceTags
https://sourceforge.net/p/ezxml/bugs/27/nvdExploit, Issue Tracking, Patch, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/07/msg00005.htmlnvdMailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ezxml_project:ezxml= 0.8.6nonvd/v1/products/ezxml_project/ezxml
debian:debian_linux= 9.0nonvd/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