CVEvulnerability

CVE-2019-20007

6.5 MEDIUM Published 2019-12-26 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-12-26
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
Weaknesses
CWE-476

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

Affected configurations

• ezxml project ezxml (>= 0.8.2 <= 0.8.6)

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References