NULL pointer dereference in Ezxml Project

CVE-2019-20007

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).

EPSS: 0.012 (64.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-20007?
CVE-2019-20007 is a medium-severity vulnerability in Ezxml Project, classified under NULL Pointer Dereference. CVSS score: 6.5/10. Published 2019-12-26.
How severe is CVE-2019-20007?
Medium severity. CVSS v3 base score is 6.5 out of 10.