CVE-2026-86141: CWE-252 Unchecked Return Value in xmlsoft libxml2
Description
xmlregexp in libxml2 before 2.15.4 has a NULL pointer dereference in xmlRegNewParserCtxt after a strdup failure, i.e., it does not calculate a string length after NULL checking.
CVSS v3.1
Score 2.9low
Affected software
xmlsoft
libxml2
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libxml2 (xmlregexp) prior to version 2.15.4 is due to an unchecked return value from strdup, which can return NULL. The function xmlRegNewParserCtxt does not handle this NULL pointer correctly and proceeds without recalculating string length, causing a NULL pointer dereference. This can lead to a denial of service by crashing the application using this library.
Potential Impact
The impact is limited to availability, as the NULL pointer dereference can cause a denial of service (application crash). There is no impact on confidentiality or integrity according to the CVSS vector and description.
Mitigation Recommendations
A fix is available in libxml2 version 2.15.4 and later. Users should upgrade to version 2.15.4 or newer to remediate this issue. Patch status is confirmed by the affectedVersions field indicating versions before 2.15.4 are vulnerable.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-09-05T04:27:58.625Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9b9ca2acd9273b49507017
Added to database: 09/05/2026, 04:37:54 UTC
Last enriched: 09/15/2026, 00:28:33 UTC
Last updated: 10/20/2026, 06:48:19 UTC
Views: 95
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.