🛡️ CVE-2026-56412 — libexpat

🟡 CVSS 4.9 — Medium ✅ No Known Exploit CWE-416 NVD
4.9
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability low.

Weakness class

CVE-2026-56412 is classified as CWE-416: Use After Free. Memory is used after being released, so its contents may already belong to something else.

Affected software

CVE-2026-56412 is recorded against 1 package.

  • libexpat (fixed in 2.8.2)

Timeline and source

Published on 21 June 2026 and last revised on 23 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com

Details

Severity MEDIUM
CVSS Score 4.9
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE CWE-416
Public Exploit ✅ No
Source NVD
Published 2026-06-21
Updated 2026-08-11
Modified 2026-06-23

Affected Packages

Software From version Fixed in
libexpat 2.8.2

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in libexpat

CVE-2026-56412 is rated CVSS 4.9 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026