# JLSEC-2026-1236: libexpat before 2.8.2 does not consider XMLTOKDATACHARS in doCdataSection and thus lacks handler call depth tracking for various calls from…

- Severity: Medium 5.9 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-09T01:27:54.135Z
- Modified: 2026-08-09T01:30:04.128Z
- Related: CVE-2026-56412

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

(As written by Julia Security Advisories.)

## Affected

- Expat_jll (Julia): before 2.8.2+0

## References

- <https://github.com/libexpat/libexpat/pull/1278> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1236](https://osv.dev/vulnerability/JLSEC-2026-1236), CC-BY-4.0, modified 2026-08-09

---

Page: https://cve.day/JLSEC-2026-1236 · Whole record: https://cve.day/JLSEC-2026-1236.json · Rebuilt by cve.day 2026-11-25T22:56:25.911Z
