# CVE-2026-86140: In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.

- Severity: High 8.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- 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.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-09-05T04:26:13.860Z
- Modified: 2026-09-15T19:39:17.010Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.

(As written by CVE List.)

## Affected

- xmlsoft libxml2: before 2.15.4

## Every score

- mitre: CVSS:3.1 8.0 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/GNOME/libxml2/compare/v2.15.3...v2.15.4> (release-notes)
- <https://github.com/GNOME/libxml2/commit/d1686f91dbda141a752200419d35639fd6b38340> (patch)

## Sources

- CVE List: [CVE-2026-86140](https://www.cve.org/CVERecord?id=CVE-2026-86140), CVE Terms of Use, modified 2026-09-08
- NVD: [CVE-2026-86140](https://nvd.nist.gov/vuln/detail/CVE-2026-86140), Public domain, modified 2026-09-15

---

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