# CVE-2026-11979: Stack-Based Buffer Overflow in libxml2

- Severity: Low 1.8 (CVSS:4.0, scored by CERT-PL) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-29T13:21:42.697Z
- Modified: 2026-10-25T21:10:00.770Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## Description

libxml2 is vulnerable to multiple stack-based buffer overflows in the xmlcatalog utility when running in --shell mode. The usershell() function processes user input using fixed-size stack buffers without proper bounds checking.
By supplying an overly long input line, an attacker can overflow internal buffers (command, arg, and argv) during input parsing. This results in memory corruption within the stack frame.
Successful exploitation may cause a crash or potentially allow arbitrary code execution in the context of the xmlcatalog process.

This issue has been fixed in the commit c2e233fc.

NOTE:
The maintainers of this project did not agree that this issue is a vulnerability and considered it a bug.

(As written by CVE List.)

## Affected

- xmlsoft libxml2: up to 2.15.3

## Every score

- CERT-PL: CVSS:4.0 1.8 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://cert.pl/en/posts/2026/06/CVE-2026-11979> (third-party-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/c2e233fc1b341685fc99621b2768b503f777a72e> (patch)

## Sources

- CVE List: [CVE-2026-11979](https://www.cve.org/CVERecord?id=CVE-2026-11979), CVE Terms of Use, modified 2026-06-29
- NVD: [CVE-2026-11979](https://nvd.nist.gov/vuln/detail/CVE-2026-11979), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-11979 · Whole record: https://cve.day/CVE-2026-11979.json · Rebuilt by cve.day 2026-11-25T22:59:26.605Z
