# CVE-2026-86143: In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callback…

- Severity: Medium 6.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/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.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-05T04:31:21.187Z
- Modified: 2026-09-15T19:31:15.857Z
- Weaknesses: CWE-192
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling writecallback. This has security relevance for many types of uses of that length value within a callback.

(As written by CVE List.)

## Affected

- xmlsoft libxml2: before 2.15.4

## Every score

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

## References

- <https://gitlab.gnome.org/GNOME/libxml2/-/work_items/1111> (exploit, vendor-advisory)
- <https://github.com/GNOME/libxml2/compare/v2.15.3...v2.15.4> (release-notes)
- <https://github.com/GNOME/libxml2/commit/90f293ba74d28b1d570920382e707586f68ebf35> (patch)

## Sources

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

---

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