# JLSEC-2025-57: libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

- Severity: High 8.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-14T15:35:41.198Z
- Modified: 2026-07-18T00:01:21.619Z
- Related: CVE-2022-40674

## Description

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

(As written by Julia Security Advisories.)

## Affected

- Expat_jll (Julia): before 2.5.0+0

## References

- <https://github.com/libexpat/libexpat/pull/629> (web)
- <https://github.com/libexpat/libexpat/pull/640> (web)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00029.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSVZN3IJ6OCPSJL7AEX3ZHSHAHFOGESK/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2IGJNHFV53PYST7VQV3T4NHVYAMXA36/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LQB6FJAM5YQ35SF5B2MN25Y2FX56EOEZ/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WE2ZKEPGFCZ7R6DRVH3K6RBJPT42ZBEG/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XCGBVQQ47URGJAZWHCISHDWF6QBTV2LE/> (web)
- <https://security.gentoo.org/glsa/202209-24> (web)
- <https://security.gentoo.org/glsa/202211-06> (web)
- <https://security.netapp.com/advisory/ntap-20221028-0008/> (web)
- <https://www.debian.org/security/2022/dsa-5236> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-57](https://osv.dev/vulnerability/JLSEC-2025-57), CC-BY-4.0, modified 2026-07-18

---

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