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.
Published: 2026-09-05
Score: 2.9 Low
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The vulnerability lies in the libxml2 library's xmlregexp module. When the function xmlRegNewParserCtxt attempts to allocate memory with strdup and that allocation fails, the code dereferences a NULL pointer without re‑evaluating the string length. This flaw can cause the library to crash or terminate unexpectedly. The weaknesses are classified as Unchecked Return Value (CWE‑252) and NULL Pointer Dereference (CWE‑476).

Affected Systems

The issue affects versions of libxml2 prior to 2.15.4, including 2.15.3 and earlier releases. Any software that links against these older libxml2 binaries is potentially impacted.

Risk and Exploitability

The CVSS score of 2.9 indicates a low severity risk. The EPSS score of 0.00116 (approximately 0.12%) and the fact that the vulnerability is not listed in CISA's KEV catalog suggest limited exploitation attempts. The likely attack vector is local: a process or user that feeds crafted XML data to an application using the vulnerable libxml2 version. Because the flaw results in a crash rather than arbitrary code execution or privilege escalation, the immediate risk is predominantly a denial‑of‑service to the affected process.

Generated by OpenCVE AI on September 8, 2026 at 02:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update libxml2 to version 2.15.4 or newer.
  • Rebuild and redeploy applications that link to libxml2 to use the updated library.
  • After the update, monitor logs for crashes and conduct integrity checks on XML processing components.

Generated by OpenCVE AI on September 8, 2026 at 02:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 08 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Title Null Pointer Dereference in libxml2 xmlregexp Parser libxml2: libxml2: Denial of Service due to NULL pointer dereference in xmlRegNewParserCtxt
Weaknesses CWE-476
References
Metrics threat_severity

None

threat_severity

Low


Sat, 05 Sep 2026 05:45:00 +0000

Type Values Removed Values Added
Title Null Pointer Dereference in libxml2 xmlregexp Parser

Sat, 05 Sep 2026 04:45:00 +0000

Type Values Removed Values Added
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.
First Time appeared Xmlsoft
Xmlsoft libxml2
Weaknesses CWE-252
CPEs cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
Vendors & Products Xmlsoft
Xmlsoft libxml2
References
Metrics cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-09T19:15:52.468Z

Reserved: 2026-09-05T04:27:58.625Z

Link: CVE-2026-86141

cve-icon Vulnrichment

Updated: 2026-09-09T19:15:49.254Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-05T05:17:13.007

Modified: 2026-09-15T19:37:41.440

Link: CVE-2026-86141

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-05T04:27:59Z

Links: CVE-2026-86141 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T02:15:08Z

Weaknesses