VYPR
Unrated severityNVD Advisory· Published Dec 31, 2019· Updated Aug 5, 2024

CVE-2019-20202

CVE-2019-20202

Description

An issue was discovered in ezXML 0.8.3 through 0.8.6. The function ezxml_char_content() tries to use realloc on a block that was not allocated, leading to an invalid free and segmentation fault.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

ezXML 0.8.3–0.8.6 calls realloc on a non-allocated block in ezxml_char_content(), causing a free of invalid memory and segmentation fault.

Vulnerability

The ezxml_char_content() function in ezXML versions 0.8.3 through 0.8.6 attempts to call realloc on a memory block that was never allocated by malloc() or a related function, as reported in [1]. This leads to an invalid free operation when realloc internally frees the old pointer. The issue is triggered during XML parsing via ezxml_parse_file() or ezxml_parse_str() when handling a specially crafted XML file that results in ezxml_char_content() being called on uninitialized or improperly managed memory [1].

Exploitation

An attacker can cause a denial of service by providing a malicious XML file to an application using the vulnerable ezXML library. No special authentication or network position is required beyond the ability to supply the XML input (e.g., via file upload, network input, or configuration file) [1]. The crash occurs during parsing at ezxml.c:248 as shown in the AddressSanitizer report, without requiring any user interaction beyond the parse call [1].

Impact

Successful exploitation results in a segmentation fault due to an invalid free, causing the application to crash. This is a denial-of-service condition (availability impact) with no impact on confidentiality or integrity [1]. The crash is reproducible both under AddressSanitizer and without it [1].

Mitigation

As of the last available reference [1] (2019), no patched version has been released. The maintainer listed the bug as acknowledged but no fix was provided. Users of ezXML 0.8.3 through 0.8.6 should consider upgrading to a newer version if one becomes available, or avoid processing untrusted XML input. No official workaround is documented. The vulnerability is not listed on CISA’s Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

59

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.