Every CVE Search/ Get API key

CVE-2026-86141

xmlregexp in libxml2 before 2.15.4 has a NULL pointer dereference in xmlRegNewParserCtxt after a...

2.9 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.17%Unchanged since Sep 5, 2026
90%50%10%1%

What each source reports

CVE List Score used 2.9

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.

Record
CVE-2026-86141
CVSS 3.1
2.9 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-252
Updated
2026-11-02
EUVDEUVD-2026-71834 2.9

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.

Record
EUVD-2026-71834
CVSS 3.1
2.9 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-7g6w-jj32-qj92 2.9

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.

Record
GHSA-7g6w-jj32-qj92
CVSS 3.1
2.9 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-252
Updated
2026-11-02
NVD 2.9

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.

Record
CVE-2026-86141
CVSS 3.1
2.9 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-252
Updated
2026-11-02
OSVBELL-CVE-2026-86141 3.3

CVE-2026-86141 does not affect BellSoft software

Record
BELL-CVE-2026-86141
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSV 2.9

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.

Record
CVE-2026-86141
CVSS 3.1
2.9 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-252
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2026-86141 3.3

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.

Record
DEBIAN-CVE-2026-86141
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVRHSA-2026:64463 8.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:64463
CVSS 3.1
8.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-86141 2.9

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.

Record
UBUNTU-CVE-2026-86141
CVSS 3.1
2.9 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-99708 No score

CVE-2026-86141 affecting package libxml2 2.11.5-10

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.

Record
AZL-99708
Updated
2026-11-02
OSVCLSA-2026-1789601022 No score

Fix of 5 CVEs

  • SECURITY UPDATE: stack buffer overflow in xmlSnprintfElements()
    • debian/patches/CVE-2026-86140.patch: add bounds checks around the parenthesis writes in xmlSnprintfElements() in valid.c
    • CVE-2026-86140
  • SECURITY UPDATE: NULL pointer dereference in xmlRegNewParserCtxt() after a failed allocation
    • debian/patches/CVE-2026-86141.patch: check the xmlStrdup() result in xmlRegNewParserCtxt() in xmlregexp.c so a failed allocation cannot leave a NULL parser cursor
    • CVE-2026-86141
  • SECURITY UPDATE: heap buffer overflow in xmlXPtrEvalXPtrPart() on oversized xpointer() expressions
    • debian/patches/CVE-2026-86142.patch: make xmlStrlen() in xmlstring.c saturate above INT_MAX and reject the saturated length in xmlXPtrEvalXPtrPart() in xpointer.c before sizing the buffer
    • CVE-2026-86142
  • SECURITY UPDATE: integer overflow before the output write callback
    • debian/patches/CVE-2026-86143.patch: check for integer overflow before passing a buffer length to the write callback in xmlIO.c
    • CVE-2026-86143
  • SECURITY UPDATE: parse flags not propagated by xmlXIncludeProcess() and xmlXIncludeProcessTree()
    • debian/patches/CVE-2026-86144.patch: propagate the document parse flags in xmlXIncludeProcess() and xmlXIncludeProcessTree() in xinclude.c
    • CVE-2026-86144
Record
CLSA-2026-1789601022
Updated
2026-11-02
OSVCLSA-2026-1789668093 No score

libxml2: Fix of 5 CVEs

  • CVE-2026-86140: add bounds checks around the parenthesis writes in xmlSnprintfElements
  • CVE-2026-86141: check the xmlStrdup result in xmlRegNewParserCtxt so a failed allocation cannot leave a NULL parser cursor
  • CVE-2026-86142: make xmlStrlen saturate above INT_MAX and reject the saturated length in xmlXPtrEvalXPtrPart before sizing the buffer
  • CVE-2026-86143: check for integer overflow before passing a buffer length to the output write callback
  • CVE-2026-86144: propagate the document parse flags in xmlXIncludeProcess and xmlXIncludeProcessTree
Record
CLSA-2026-1789668093
Updated
2026-11-02
OSVCLSA-2026-1789668422 No score

libxml2: Fix of 5 CVEs

  • CVE-2026-86140: add bounds checks around the parenthesis writes in xmlSnprintfElements
  • CVE-2026-86141: check the xmlStrdup result in xmlRegNewParserCtxt so a failed allocation cannot leave a NULL parser cursor
  • CVE-2026-86142: make xmlStrlen saturate above INT_MAX and reject the saturated length in xmlXPtrEvalXPtrPart before sizing the buffer
  • CVE-2026-86143: check for integer overflow before passing a buffer length to the output write callback
  • CVE-2026-86144: propagate the document parse flags in xmlXIncludeProcess and xmlXIncludeProcessTree
Record
CLSA-2026-1789668422
Updated
2026-11-02
OSVCLSA-2026-1789780589 No score

libxml2: Fix of 5 CVEs

  • CVE-2026-86140: add bounds checks around the parenthesis writes in xmlSnprintfElements
  • CVE-2026-86141: check the xmlStrdup result in xmlRegNewParserCtxt so a failed allocation cannot leave a NULL parser cursor
  • CVE-2026-86142: make xmlStrlen saturate above INT_MAX and reject the saturated length in xmlXPtrEvalXPtrPart before sizing the buffer
  • CVE-2026-86143: check for integer overflow before passing a buffer length to the output write callback
  • CVE-2026-86144: propagate the document parse flags in xmlXIncludeProcess and xmlXIncludeProcessTree
Record
CLSA-2026-1789780589
Updated
2026-11-02
OSVMGASA-2026-0459 No score

Updated libxml2 packages fix security vulnerabilities

The updated packages fix several security issues: Stack-Based Buffer Overflow in libxml2. (CVE-2026-11979) In libxml2 before 2.15.4, xmlFAParsePosCharGroup has an out-of-bounds read, aka an out-of-bounds read in the NXT macro in xmlregexp. (CVE-2026-86137) In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow. (CVE-2026-86138) In libxml2 before 2.15.4, xmlURIEscapeStr in uri.c has an integer overflow. (CVE-2026-86139) In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow. (CVE-2026-86140) 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. (CVE-2026-86141) In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation. (CVE-2026-86142) In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling writecallback. This has security relevance for many types of uses of that length value within a callback. (CVE-2026-86143) In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XML_PARSE_NONET flag, if (without it) a custom resource loader accesses the internet and triggers XML external entity injection, SSRF, or a denial of service (e.g., for an attacker-controlled internet resource that is intentionally slow). (CVE-2026-86144)

Record
MGASA-2026-0459
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libxml2
Azure Linux:3
through 2.11.5-10 None known
libxml2
TuxCare:Ubuntu:16.04
From an advisory covering 5 CVEs
before 2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
libxml2-dev
TuxCare:Ubuntu:16.04
From an advisory covering 5 CVEs
before 2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
libxml2-doc
TuxCare:Ubuntu:16.04
From an advisory covering 5 CVEs
before 2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
libxml2-utils
TuxCare:Ubuntu:16.04
From an advisory covering 5 CVEs
before 2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
python-libxml2
TuxCare:Ubuntu:16.04
From an advisory covering 5 CVEs
before 2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
2.9.3+dfsg1-1ubuntu0.7+tuxcare.els16
libxml2
TuxCare:CentOS:8.5
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
libxml2-devel
TuxCare:CentOS:8.5
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
libxml2-static
TuxCare:CentOS:8.5
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
python3-libxml2
TuxCare:CentOS:8.5
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
Show 16 moreShow less
Affected packages
PackageAffectedFixed
libxml2
TuxCare:CentOS:8.4
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
libxml2-devel
TuxCare:CentOS:8.4
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
libxml2-static
TuxCare:CentOS:8.4
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
python3-libxml2
TuxCare:CentOS:8.4
From an advisory covering 5 CVEs
before 2.9.7-9.el8_4.2.tuxcare.els18
2.9.7-9.el8_4.2.tuxcare.els18
libxml2
TuxCare:CentOS-Stream:8
From an advisory covering 5 CVEs
before 2.9.7-18.el8.tuxcare.els13
2.9.7-18.el8.tuxcare.els13
libxml2-devel
TuxCare:CentOS-Stream:8
From an advisory covering 5 CVEs
before 2.9.7-18.el8.tuxcare.els13
2.9.7-18.el8.tuxcare.els13
libxml2-static
TuxCare:CentOS-Stream:8
From an advisory covering 5 CVEs
before 2.9.7-18.el8.tuxcare.els13
2.9.7-18.el8.tuxcare.els13
python3-libxml2
TuxCare:CentOS-Stream:8
From an advisory covering 5 CVEs
before 2.9.7-18.el8.tuxcare.els13
2.9.7-18.el8.tuxcare.els13
libxml2
Debian:13
All versions, plus listed versions
2.12.7+dfsg+really2.9.14-2.12.12.7+dfsg+really2.9.14-2.1+deb13u12.12.7+dfsg+really2.9.14-2.1+deb13u22.12.7+dfsg+really2.9.14-2.1+deb13u32.13.1+dfsg-0exp1
Show 26 moreShow less
2.13.3+dfsg-0exp12.13.3+dfsg-0exp22.14.1+dfsg-0exp12.14.2+dfsg-0exp12.14.3+dfsg-0exp12.14.3+dfsg-0exp22.14.3+dfsg-0exp32.14.4+dfsg-0exp12.14.5+dfsg-0.12.14.5+dfsg-0.22.14.5+dfsg-0exp12.14.5+dfsg-0exp22.14.6+dfsg-0.12.15.0+dfsg-0.12.15.0+dfsg-0.22.15.0+dfsg-0.32.15.1+dfsg-0.12.15.1+dfsg-0.22.15.1+dfsg-0.32.15.1+dfsg-0.42.15.1+dfsg-0.52.15.1+dfsg-12.15.1+dfsg-22.15.2+dfsg-0.12.15.3+dfsg-12.15.4+dfsg-1
None known
libxml2
Debian:14
before 2.15.4+dfsg-1, plus listed versions
2.12.7+dfsg+really2.9.14-2.12.13.1+dfsg-0exp12.13.3+dfsg-0exp12.13.3+dfsg-0exp22.14.1+dfsg-0exp1
Show 22 moreShow less
2.14.2+dfsg-0exp12.14.3+dfsg-0exp12.14.3+dfsg-0exp22.14.3+dfsg-0exp32.14.4+dfsg-0exp12.14.5+dfsg-0.12.14.5+dfsg-0.22.14.5+dfsg-0exp12.14.5+dfsg-0exp22.14.6+dfsg-0.12.15.0+dfsg-0.12.15.0+dfsg-0.22.15.0+dfsg-0.32.15.1+dfsg-0.12.15.1+dfsg-0.22.15.1+dfsg-0.32.15.1+dfsg-0.42.15.1+dfsg-0.52.15.1+dfsg-12.15.1+dfsg-22.15.2+dfsg-0.12.15.3+dfsg-1
2.15.4+dfsg-1
libxml2
Mageia:10
From an advisory covering 9 CVEs
before 2.15.1-3.2.mga10
2.15.1-3.2.mga10
libxml2
Red Hat:hummingbird:1
From an advisory covering 9 CVEs
before 0:2.15.4-0.1.hum1
0:2.15.4-0.1.hum1
libxml2-16
Red Hat:hummingbird:1
From an advisory covering 9 CVEs
before 0:2.15.4-0.1.hum1
0:2.15.4-0.1.hum1
libxml2-devel
Red Hat:hummingbird:1
From an advisory covering 9 CVEs
before 0:2.15.4-0.1.hum1
0:2.15.4-0.1.hum1
libxml2-static
Red Hat:hummingbird:1
From an advisory covering 9 CVEs
before 0:2.15.4-0.1.hum1
0:2.15.4-0.1.hum1
python3-libxml2
Red Hat:hummingbird:1
From an advisory covering 9 CVEs
before 0:2.15.4-0.1.hum1
0:2.15.4-0.1.hum1

History

History
RecordedChangedSources
affected, facts
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-86141 is a low vulnerability (CVSS 2.9) in Gnome Libxml2, published September 5, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 5th percentile. Fixed in libxml2 2.15.4+dfsg-1.

References

Show 62 moreShow less
MoveEnter Open