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).
References
Link | Resource |
---|---|
https://sourceforge.net/p/ezxml/bugs/13/ | Exploit Third Party Advisory |
Configurations
History
No history.
Information
Published : 2019-12-26 22:15
Updated : 2020-01-02 19:36
NVD link : CVE-2019-20007
Mitre link : CVE-2019-20007
CVE.ORG link : CVE-2019-20007
JSON object : View
Products Affected
ezxml_project
- ezxml
CWE
CWE-476
NULL Pointer Dereference