# JLSEC-2025-75: In libxml2 before 2.9.14, several buffer handling functions in buf.c (`xmlBuf*`) and tree.c...

- Severity: Medium 6.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-10-17T17:40:51.659Z
- Modified: 2026-07-25T18:23:45.291Z
- Related: CVE-2022-29824

## Description

In libxml2 before 2.9.14, several buffer handling functions in buf.c (`xmlBuf*`) and tree.c (`xmlBuffer*`) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

(As written by Julia Security Advisories.)

## Affected

- XML2_jll (Julia): before 2.9.14+0
- XSLT_jll (Julia): before 1.1.41+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 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <http://packetstormsecurity.com/files/167345/libxml2-xmlBufAdd-Heap-Buffer-Overflow.html> (exploit, web)
- <http://packetstormsecurity.com/files/169825/libxml2-xmlParseNameComplex-Integer-Overflow.html> (exploit, web)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebab> (web)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefd> (web)
- <https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14> (web)
- <https://gitlab.gnome.org/GNOME/libxslt/-/tags> (web)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00023.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZOBT5Y6Y2QLDDX2HZGMV7MJMWGXORKK/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3NVZVWFRBXBI3AKZZWUWY6INQQPQVSF/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P5363EDV5VHZ5C77ODA43RYDCPMA7ARM/> (web)
- <https://security.gentoo.org/glsa/202210-03> (web)
- <https://security.netapp.com/advisory/ntap-20220715-0006/> (web)
- <https://www.debian.org/security/2022/dsa-5142> (web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (web)

## Sources

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

---

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