# JLSEC-2025-77: An issue was discovered in libxml2 before 2.10.3

- 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-25T18:23:45.292Z
- Related: CVE-2022-40303

## Description

An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the `XML_PARSE_HUGE` parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.

(As written by Julia Security Advisories.)

## Affected

- XML2_jll (Julia): before 2.10.3+0

## References

- <http://seclists.org/fulldisclosure/2022/Dec/21> (web)
- <http://seclists.org/fulldisclosure/2022/Dec/24> (web)
- <http://seclists.org/fulldisclosure/2022/Dec/25> (web)
- <http://seclists.org/fulldisclosure/2022/Dec/26> (web)
- <http://seclists.org/fulldisclosure/2022/Dec/27> (web)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0> (web)
- <https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3> (web)
- <https://security.netapp.com/advisory/ntap-20221209-0003/> (web)
- <https://support.apple.com/kb/HT213531> (web)
- <https://support.apple.com/kb/HT213533> (web)
- <https://support.apple.com/kb/HT213534> (web)
- <https://support.apple.com/kb/HT213535> (web)
- <https://support.apple.com/kb/HT213536> (web)

## Sources

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

---

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