All vulnerabilities

Servers and applications

CVE-2026-56412

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.

Severity
Medium 5.9
Published
21 Jun 2026
Last changed
10 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.8.2
Exploit chance
0.2% in the next 30 daysHigher than 9% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Use after free (CWE-416)
Attack
Needs local access · No login needed · No user action needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Sources
NVD, CVE Program

Affected software

SoftwareAffected versions
ExpatServers and applications · cna:libexpat project|libexpat
  • Every version before 2.8.2
ExpatServers and applications · cpe:a:libexpat_project:libexpat
  • Every version before 2.8.2

About Expat

XML parser library

From Wikidata, CC0 1.0.
GitHub stars
1,405GitHub, 15 Nov 2026
Forks
572GitHub, 15 Nov 2026
Latest release
R_2_10_0GitHub, 15 Nov 2026
Released
2 Nov 2026GitHub
Developer
James ClarkWikidata
License
Expat licenseWikidata
Written in
CWikidata
First published on GitHub
28 Jan 2017GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-56412
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-56412