# JLSEC-2025-74: valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-17T17:40:51.659Z
- Modified: 2026-07-18T00:00:12.062Z
- Related: CVE-2022-23308

## Description

valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

(As written by Julia Security Advisories.)

## Affected

- XML2_jll (Julia): before 2.9.14+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <http://seclists.org/fulldisclosure/2022/May/33> (web)
- <http://seclists.org/fulldisclosure/2022/May/34> (web)
- <http://seclists.org/fulldisclosure/2022/May/35> (web)
- <http://seclists.org/fulldisclosure/2022/May/36> (web)
- <http://seclists.org/fulldisclosure/2022/May/37> (web)
- <http://seclists.org/fulldisclosure/2022/May/38> (web)
- <https://github.com/GNOME/libxml2/commit/652dd12a858989b14eed4e84e453059cd3ba340e> (web)
- <https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.9.13/NEWS> (web)
- <https://lists.debian.org/debian-lts-announce/2022/04/msg00004.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LA3MWWAYZADWJ5F6JOUBX65UZAMQB7RF/> (web)
- <https://security.gentoo.org/glsa/202210-03> (web)
- <https://security.netapp.com/advisory/ntap-20220331-0008/> (web)
- <https://support.apple.com/kb/HT213253> (web)
- <https://support.apple.com/kb/HT213254> (web)
- <https://support.apple.com/kb/HT213255> (web)
- <https://support.apple.com/kb/HT213256> (web)
- <https://support.apple.com/kb/HT213257> (web)
- <https://support.apple.com/kb/HT213258> (web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (web)

## Sources

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

---

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