JLSEC-2026-1452: xmlregexp in libxml2 before 2.15.4 has a NULL pointer dereference in xmlRegNewParserCtxt after a...
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/XML2_jllto a version that resolves this vulnerability.Fixed in 2.15.4+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required to trigger this issue?
An attacker or local user needs the ability to cause libxml2's xmlregexp parser context creation to encounter a strdup failure. The provided severity vector indicates local access, low attack complexity, low privileges, and no user interaction are required.
What is the impact if exploitation succeeds?
The issue causes a NULL pointer dereference, resulting in a denial of service. The supplied vector indicates availability impact only, with no reported confidentiality or integrity impact.
Which versions are affected and what version fixes it?
libxml2 versions before 2.15.4 are affected. Upgrading to libxml2 2.15.4 or later addresses the issue.