An issue was discovered in ezXML 0.8.2 through 0.8.6. The function ezxml_str2utf8, while parsing a crafted XML file, performs zero-length reallocation in ezxml.c, leading to returning a NULL pointer (in some compilers). After this, the function ezxml_parse_str does not check whether the s variable is not NULL in ezxml.c, leading to a NULL pointer dereference and crash (segmentation fault).
Advisories
Source ID Title
EUVD EUVD EUVD-2019-10564 An issue was discovered in ezXML 0.8.2 through 0.8.6. The function ezxml_str2utf8, while parsing a crafted XML file, performs zero-length reallocation in ezxml.c, leading to returning a NULL pointer (in some compilers). After this, the function ezxml_parse_str does not check whether the s variable is not NULL in ezxml.c, leading to a NULL pointer dereference and crash (segmentation fault).
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T02:32:10.189Z

Reserved: 2019-12-26T00:00:00

Link: CVE-2019-20007

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-12-26T22:15:10.920

Modified: 2024-11-21T04:37:52.350

Link: CVE-2019-20007

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses