Quick answers
- Is CVE-2026-86138 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-86138 being exploited in the wild.
- How severe is CVE-2026-86138?
- Medium severity, with a CVSS score of 6.9, published 5 September 2026.
- Which products and versions are affected?
- GNOME libxml2 before 2.15.4.
- Is there a fix for CVE-2026-86138?
- A patch was published on 2026: Fix committed in libxml2 v2.15.4 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-86138 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-86138?
- Check whether you run Xmlsoft Libxml2. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is an integer overflow in the xmlDictAddQString function (dict.c) that processes prefixed XML names. When calculating memory pool size, the addition of namelen + plen + 1 can overflow an unsigned int. The overflowed result is then multiplied by 4 for exponential pool growth, yielding a small allocation. Subsequent memcpy operations writing the prefix and name then overflow the undersized heap buffer. The function lacks the overflow guards present in its sibling xmlDictAddString. Exploitation requires processing specially crafted XML input with long namespace prefixes or local names. A patch adding SIZE_MAX-based overflow checks and safe size_t casting was applied in version 2.15.4.
Affected products
- GNOME libxml2 before 2.15.4
Timeline
- 2026-09-05: disclosed
- 2026: patched: Fix committed in libxml2 v2.15.4