CVE-2026-86141
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.
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
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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 3.3 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 High
CVSS: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 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 3.3 Low
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
libxml2Azure Linux:3 |
through 2.11.5-10 | None known |
libxml2TuxCare: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-devTuxCare: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-docTuxCare: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-utilsTuxCare: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-libxml2TuxCare: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 |
libxml2TuxCare: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-develTuxCare: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-staticTuxCare: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-libxml2TuxCare: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
| Package | Affected | Fixed |
|---|---|---|
libxml2TuxCare: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-develTuxCare: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-staticTuxCare: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-libxml2TuxCare: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 |
libxml2TuxCare: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-develTuxCare: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-staticTuxCare: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-libxml2TuxCare:CentOS-Stream:8 From an advisory covering 5 CVEs |
before 2.9.7-18.el8.tuxcare.els13 | 2.9.7-18.el8.tuxcare.els13 |
libxml2Debian: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 less2.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 |
libxml2Debian: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 less2.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 |
libxml2Mageia:10 From an advisory covering 9 CVEs |
before 2.15.1-3.2.mga10 | 2.15.1-3.2.mga10 |
libxml2Red 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-16Red 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-develRed 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-staticRed 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-libxml2Red 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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| first indexed | CVE 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
github.com/GNOME/libxml2/compare/v2.15.3...v2.15.4
github.com/GNOME/libxml2/commit/e89a8aae4c9b40cdafcf66b3f9e57c62db37bb55
gitlab.gnome.org/GNOME/libxml2/-/work_items/1107
nvd.nist.gov/vuln/detail/CVE-2026-86141
github.com/advisories/GHSA-7g6w-jj32-qj92
docs.bell-sw.com/security/cves/CVE-2026-86141
Show 62 moreShow less
errata.tuxcare.com/els_os/ubuntu16.04els/CLSA-2026-1789601022.html
nvd.nist.gov/vuln/detail/CVE-2026-86140
nvd.nist.gov/vuln/detail/CVE-2026-86142
nvd.nist.gov/vuln/detail/CVE-2026-86143
nvd.nist.gov/vuln/detail/CVE-2026-86144
errata.tuxcare.com/els_os/centos8.5els/CLSA-2026-1789668093.html
errata.tuxcare.com/els_os/centos8.4els/CLSA-2026-1789668422.html
errata.tuxcare.com/els_os/centos-stream8els/CLSA-2026-1789780589.html
github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86141.json
security-tracker.debian.org/tracker/CVE-2026-86141
advisories.mageia.org/MGASA-2026-0459.html
bugs.mageia.org/show_bug.cgi?id=35932
lists.opensuse.org/archives/list/[email protected]/message/ZWJ6JIPH33FSDSBTGTTXHQQKFJEXIKRU
gitlab.gnome.org/GNOME/libxml2/-/work_items/1124
openwall.com/lists/oss-security/2026/09/04/5
openwall.com/lists/oss-security/2026/09/05/4
access.redhat.com/errata/RHSA-2026:64463
images.redhat.com
access.redhat.com/security/cve/CVE-2026-86137
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2026-86143
access.redhat.com/security/cve/CVE-2026-86141
access.redhat.com/security/cve/CVE-2026-86140
access.redhat.com/security/cve/CVE-2026-86138
access.redhat.com/security/cve/CVE-2026-86144
access.redhat.com/security/cve/CVE-2026-86139
access.redhat.com/security/cve/CVE-2026-86142
access.redhat.com/security/cve/CVE-2026-74860
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_64463.json
bugzilla.redhat.com/show_bug.cgi?id=2529697
cve.org/CVERecord?id=CVE-2026-74860
nvd.nist.gov/vuln/detail/CVE-2026-74860
bugzilla.redhat.com/show_bug.cgi?id=2528985
cve.org/CVERecord?id=CVE-2026-86137
nvd.nist.gov/vuln/detail/CVE-2026-86137
github.com/GNOME/libxml2/commit/76fe08d97de88bfaef2f7d5cd27f11954cc5bee2
gitlab.gnome.org/GNOME/libxml2/-/work_items/1099
bugzilla.redhat.com/show_bug.cgi?id=2528986
cve.org/CVERecord?id=CVE-2026-86138
nvd.nist.gov/vuln/detail/CVE-2026-86138
github.com/GNOME/libxml2/commit/a4cba4b5b5a8c42e155ed42d2d2a44955465a2e4
bugzilla.redhat.com/show_bug.cgi?id=2528991
cve.org/CVERecord?id=CVE-2026-86139
nvd.nist.gov/vuln/detail/CVE-2026-86139
github.com/GNOME/libxml2/commit/8edbbdb09f24d26a2f900141fddc2b9d014f53b0
bugzilla.redhat.com/show_bug.cgi?id=2528989
cve.org/CVERecord?id=CVE-2026-86140
github.com/GNOME/libxml2/commit/d1686f91dbda141a752200419d35639fd6b38340
bugzilla.redhat.com/show_bug.cgi?id=2528988
cve.org/CVERecord?id=CVE-2026-86141
bugzilla.redhat.com/show_bug.cgi?id=2528990
cve.org/CVERecord?id=CVE-2026-86142
github.com/GNOME/libxml2/commit/6b3a736c0edc74ceec3d82f5252499d7911b3a58
gitlab.gnome.org/GNOME/libxml2/-/work_items/1113
bugzilla.redhat.com/show_bug.cgi?id=2528987
cve.org/CVERecord?id=CVE-2026-86143
github.com/GNOME/libxml2/commit/90f293ba74d28b1d570920382e707586f68ebf35
gitlab.gnome.org/GNOME/libxml2/-/work_items/1111
bugzilla.redhat.com/show_bug.cgi?id=2528992
cve.org/CVERecord?id=CVE-2026-86144
github.com/GNOME/libxml2/commit/b63cd517afecb76582dd9488c55e54ceaf50de61
ubuntu.com/security/CVE-2026-86141