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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*

History

10 Nov 2026, 13:19

Type Values Removed Values Added
References
  • () https://cert-portal.siemens.com/productcert/html/ssa-457936.html -
References () https://github.com/libexpat/libexpat/pull/1278 - Patch, Issue Tracking () https://github.com/libexpat/libexpat/pull/1278 - Issue Tracking, Patch

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (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.

23 Jun 2026, 15:31

Type Values Removed Values Added
References () https://github.com/libexpat/libexpat/pull/1278 - () https://github.com/libexpat/libexpat/pull/1278 - Patch, Issue Tracking
First Time Libexpat Project libexpat
Libexpat Project
CPE cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*

21 Jun 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-21 17:16

Updated : 2026-11-10 13:19


NVD link : CVE-2026-56412

Mitre link : CVE-2026-56412

CVE.ORG link : CVE-2026-56412


JSON object : View

Products Affected

libexpat_project

  • libexpat
CWE
CWE-416

Use After Free