CVE-2019-20007 Null dereference in n/a
A crafted XML file causes a NULL pointer dereference in the ezXML library, leading to a segmentation fault and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-20007?
CVE-2019-20007 is a medium-severity vulnerability in n/a, published on 26 Dec 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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).
Weakness: CWE-476
Which versions are affected by CVE-2019-20007?
It affects 1 product.
Products include Ezxml Project Ezxml.
How do I fix CVE-2019-20007?
Upgrade to a fixed version.
Is CVE-2019-20007 being exploited?
There is no known exploitation of CVE-2019-20007 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2019-20007, GHSA-27qv-mw67-9whg, UBUNTU-CVE-2019-20007.