CVE-2026-86141
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-86141 is a NULL pointer dereference vulnerability in the xmlregexp component of libxml2 affecting all versions before 2.15.4. The flaw exists in the xmlRegNewParserCtxt function, which fails to calculate a string length after a NULL check following a strdup failure. It was published on September 5, 2026, with a patch released in libxml2 version 2.15.4. The vulnerability carries a CVSS v3.1 base score of 2.9 (Low) (GitHub Advisory).

Technical details

The root cause is an unchecked return value (CWE-252): after calling xmlStrdup(string), the code originally computed ret->len = strlen((const char *) ret->string) before checking whether xmlStrdup returned NULL, meaning a failed memory allocation could result in a NULL pointer dereference when strlen is subsequently called on a NULL pointer. The fix, applied in commit e89a8aa, reorders the operations so that the NULL check on ret->string occurs before strlen is invoked (libxml2 commit). Exploitation requires a local attacker to trigger a memory allocation failure during XML regular expression parsing, making the attack complexity high and the attack vector local (GitHub Advisory).

Impact

Successful exploitation results in an application crash (denial of service) due to the NULL pointer dereference in xmlRegNewParserCtxt. There is no impact on confidentiality or integrity; only availability is affected at a low level, limited to the process consuming the vulnerable libxml2 library. The scope is unchanged, meaning the impact is confined to the affected component and does not enable lateral movement or data exposure (GitHub Advisory).

Exploitability

There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is 0.0, reflecting a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The high attack complexity (requiring a memory allocation failure to be triggered) further limits practical exploitability.

Mitigation and workarounds

Update libxml2 to version 2.15.4 or later, which contains the fix that reorders the NULL check and strlen call in xmlRegNewParserCtxt (libxml2 commit, GitHub Advisory). As a secondary measure, limit local access to systems running vulnerable versions of libxml2 where an immediate upgrade is not feasible. No configuration-based workaround is documented; patching is the recommended remediation.

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86140HIGH8
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86143MEDIUM6.9
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86142MEDIUM6.9
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86144MEDIUM5.6
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026
CVE-2026-86141LOW2.9
  • Linux Debian logoLinux Debian
  • libxml2
NoNoSep 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management