CVE-2026-141596 PUBLISHED

libexpat through 2.11.0 NULL Pointer Dereference via Entity CDATA Suspension

Assigner: VulnCheck
Reserved: 02.12.2026 Published: 02.12.2026 Updated: 02.12.2026

libexpat through 2.11.0 contains a NULL pointer dereference vulnerability in doContent() in lib/xmlparse.c that mishandles parser suspension inside CDATA sections within internal general entities. Attackers can supply a crafted XML document to applications whose handlers suspend the parser inside the CDATA section, corrupting parser state and causing a crash.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor libexpat
Product libexpat
Versions Default: unaffected
  • affected from 0 to 2.11.0 (incl.)

Credits

  • Bartłomiej Dmitruk finder
  • Sebastian Pipping remediation developer

References

Problem Types

  • NULL Pointer Dereference CWE