CVE-2019-20007: Null Pointer Dereference
An issue was discovered in ezXML 0.8.2 through 0.8.6. The function ezxmlstr2utf8, 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 ezxmlparsestr does not check whether the s variable is not NULL in ezxml.c, leading to a NULL pointer dereference and crash (segmentation fault).
Affected Software
Event History
Frequently Asked Questions
What is CVE-2019-20007?
CVE-2019-20007 is a vulnerability discovered in the ezXML library version 0.8.2 through 0.8.6.
How does the vulnerability CVE-2019-20007 affect ezXML?
The vulnerability CVE-2019-20007 in ezXML allows a crafted XML file to trigger a NULL pointer dereference, leading to a possible denial of service or arbitrary code execution.
What is the severity of CVE-2019-20007?
CVE-2019-20007 has a severity level of medium with a CVSS score of 6.5.
How can I fix the vulnerability CVE-2019-20007?
To fix the vulnerability CVE-2019-20007, it is recommended to update ezXML to a version that is not affected, such as version 0.8.7 or newer.
Where can I find more information about CVE-2019-20007?
You can find more information about CVE-2019-20007 on the SourceForge website at the following URL: https://sourceforge.net/p/ezxml/bugs/13/