CVE-2019-20007

MEDIUM

ezxml 0.8.2-0.8.6 - NULL Pointer Dereference in ezxml_str2utf8

Title source: llm
STIX 2.1

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

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://sourceforge.net/p/ezxml/bugs/13/

Scores

CVSS v3 6.5
EPSS 0.0128
EPSS Percentile 66.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (1)
ezxml_project/ezxml 0.8.2 - 0.8.6
Published Dec 26, 2019
Tracked Since Feb 18, 2026