CVE-2026-56412
JSON

4.9medium

libexpat before 2.8.2 does not consider XMLTOKDATACHARS in doCdataSection and thus lacks handler call depth tracking for various calls from…

Severity
4.9medium CVSS:3.1 by mitre
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.

Affected

Product or packageVersionsReported by
libexpat project libexpatbefore 2.8.2CVE List
libexpat_project libexpatbefore 2.8.2NVD

All scores

mitre4.9medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD5.9medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.

NVD (es)

libexpat antes de la versión 2.8.2 no considera XML_TOK_DATA_CHARS en doCdataSection y, por lo tanto, carece de seguimiento de la profundidad de las llamadas a los gestores para varias llamadas desde dentro de los gestores en casos de una violación de política. Así, un uso después de liberación puede ocurrir. NOTA: este problema existe debido a una corrección incompleta para CVE-2026-50219.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56412 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-56412 changed 2026-11-10Public domain