CVE-2019-20007

MEDIUMCVSS 6.5/10EPSS 1.28%

Last modified

CVE-2019-20007 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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). EPSS estimates a 1.28% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
1.28%

66.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Ezxml ProjectEzxml>= 0.8.2, <= 0.8.6

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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).
How severe is CVE-2019-20007?
CVE-2019-20007 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.28% probability of exploitation in the next 30 days.
How do I fix CVE-2019-20007?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-20007?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST