CVE-2026-56412

Medium

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.

SeverityMedium
CVSS4.9
Exploit probability—
ProductLibexpat
PublishedJun 21, 2026
First seenJun 21, 2026

How to fix

Update
  • libexpat_project libexpat2.8.2 or later

Affected products

ProductAffected versionsFixed in
libexpat_project libexpatv < 2.8.22.8.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-56412 · Libexpat · Dark Radar