Debian Package Tracker
Register | Log in
Subscribe

libxml2

Choose email to subscribe with

general
  • source: libxml2 (main)
  • version: 2.15.4+dfsg-1
  • maintainer: Debian XML/SGML Group (archive) (DMD)
  • uploaders: Aron Xu (DMD) – YunQiang Su (DMD)
  • arch: all any
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 2.9.10+dfsg-6.7+deb11u4
  • o-o-sec: 2.9.10+dfsg-6.7+deb11u10
  • oldstable: 2.9.14+dfsg-1.3~deb12u6
  • old-sec: 2.9.14+dfsg-1.3~deb12u4
  • old-p-u: 2.9.14+dfsg-1.3~deb12u6
  • stable: 2.12.7+dfsg+really2.9.14-2.1+deb13u3
  • stable-sec: 2.12.7+dfsg+really2.9.14-2.1+deb13u1
  • stable-bpo: 2.15.4+dfsg-1~bpo13+1
  • testing: 2.15.4+dfsg-1
  • unstable: 2.15.4+dfsg-1
versioned links
  • 2.9.10+dfsg-6.7+deb11u4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.9.10+dfsg-6.7+deb11u10: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.9.14+dfsg-1.3~deb12u4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.9.14+dfsg-1.3~deb12u6: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.12.7+dfsg+really2.9.14-2.1+deb13u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.12.7+dfsg+really2.9.14-2.1+deb13u3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.15.4+dfsg-1~bpo13+1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.15.4+dfsg-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • libxml2-16 (1 bugs: 0, 1, 0, 0)
  • libxml2-dev (3 bugs: 0, 2, 1, 0)
  • libxml2-doc
  • libxml2-source
  • libxml2-utils (15 bugs: 0, 10, 5, 0)
  • python3-libxml2
action needed
10 security issues in trixie high

There are 10 open security issues in trixie.

9 important issues:
  • CVE-2026-86141: 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-137067: GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability in xmlValidatePopElement because xmlCtxtReset frees the DTD without popping stale validation states. Attackers supplying an XML document ending inside an element to an application reusing a DTD-validating xmlTextReader can trigger heap reads, causing crashes and limited heap disclosure via error messages.
  • CVE-2026-137068: libxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to crash applications by triggering xmlFreeNode on a stale reader->faketext node after xmlTextReader reuse. Attackers can supply XML containing a namespace declaration to applications that read its value and reuse the reader, causing a freed document's dictionary read and process crash.
  • CVE-2026-137069: libxml2 2.13.0 through 2.15.4 contains a denial of service vulnerability because xmlTextReaderSetup does not reset reader->state when a reader is reused. Attackers can submit one malformed XML document to an application reusing a single reader, causing every later document to be rejected until the reader is recreated.
  • CVE-2026-137072: GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability that allows attackers to trigger stale DTD validation states after xmlTextReaderCurrentDoc documents are freed. Attackers can supply an XML document ending with an error inside an element, causing xmlTextReaderClose to read freed element declarations, leading to crashes and possible invalid frees.
  • CVE-2026-137073: GNOME libxml2 through 2.15.4 contains a double free vulnerability in xmlReaderNewWalker() that frees reader->input again after xmlTextReaderClose() already released it. Applications reusing a closed xmlTextReader with xmlReaderNewWalker() can crash, and groomed heap memory can control the close callback for possible code execution.
  • CVE-2026-137074: GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves ctxt->input NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt->input->flags without a check, crashing the application and causing denial of service.
  • CVE-2026-137075: GNOME libxml2 2.14.0 through 2.15.4 contains a missing NUL termination flaw in xmlBufferAddHead() in buf.c that leaves uninitialized heap bytes as the terminator for storage-less buffers. Attackers supplying data to applications reusing an xmlBuffer can trigger over-reads via xmlBufferCat() and xmlStrlen(), disclosing adjacent heap memory or causing crashes.
  • CVE-2026-137082: GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XML_PARSE_SAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.
1 issue left for the package maintainer to handle:
  • CVE-2026-6653: (needs triaging) Use After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0 allows a remote attacker to cause a denial-of-service via maliciously crafted XML input with improper entity resolution handling.

You can find information about how to handle this issue in the security team's documentation.

7 issues that should be fixed with the next stable update:
  • CVE-2026-74860: A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD) with enumerated attribute values. This triggers a double-free error in the SAX attributeDecl callback handler, where a string is freed twice. This flaw can lead to a denial of service (DoS) due to a reproducible crash in Python applications using the libxml2 SAX bindings.
  • CVE-2026-76781: A flaw was found in libxml2. A local user or an attacker providing a specially crafted XML catalog can trigger a NULL pointer dereference during XML catalog parsing. This occurs when a `nextCatalog` element lacks its mandatory `catalog` attribute, leading to the application crashing and causing a Denial of Service (DoS).
  • CVE-2026-86138: In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow.
  • CVE-2026-86140: In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.
  • CVE-2026-86142: In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.
  • CVE-2026-86143: 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-86144: 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).
Created: 2026-01-15 Last update: 2026-11-29 21:32
8 security issues in sid high

There are 8 open security issues in sid.

8 important issues:
  • CVE-2026-137067: GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability in xmlValidatePopElement because xmlCtxtReset frees the DTD without popping stale validation states. Attackers supplying an XML document ending inside an element to an application reusing a DTD-validating xmlTextReader can trigger heap reads, causing crashes and limited heap disclosure via error messages.
  • CVE-2026-137068: libxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to crash applications by triggering xmlFreeNode on a stale reader->faketext node after xmlTextReader reuse. Attackers can supply XML containing a namespace declaration to applications that read its value and reuse the reader, causing a freed document's dictionary read and process crash.
  • CVE-2026-137069: libxml2 2.13.0 through 2.15.4 contains a denial of service vulnerability because xmlTextReaderSetup does not reset reader->state when a reader is reused. Attackers can submit one malformed XML document to an application reusing a single reader, causing every later document to be rejected until the reader is recreated.
  • CVE-2026-137072: GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability that allows attackers to trigger stale DTD validation states after xmlTextReaderCurrentDoc documents are freed. Attackers can supply an XML document ending with an error inside an element, causing xmlTextReaderClose to read freed element declarations, leading to crashes and possible invalid frees.
  • CVE-2026-137073: GNOME libxml2 through 2.15.4 contains a double free vulnerability in xmlReaderNewWalker() that frees reader->input again after xmlTextReaderClose() already released it. Applications reusing a closed xmlTextReader with xmlReaderNewWalker() can crash, and groomed heap memory can control the close callback for possible code execution.
  • CVE-2026-137074: GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves ctxt->input NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt->input->flags without a check, crashing the application and causing denial of service.
  • CVE-2026-137075: GNOME libxml2 2.14.0 through 2.15.4 contains a missing NUL termination flaw in xmlBufferAddHead() in buf.c that leaves uninitialized heap bytes as the terminator for storage-less buffers. Attackers supplying data to applications reusing an xmlBuffer can trigger over-reads via xmlBufferCat() and xmlStrlen(), disclosing adjacent heap memory or causing crashes.
  • CVE-2026-137082: GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XML_PARSE_SAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.
Created: 2026-11-26 Last update: 2026-11-29 21:32
8 security issues in forky high

There are 8 open security issues in forky.

8 important issues:
  • CVE-2026-137067: GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability in xmlValidatePopElement because xmlCtxtReset frees the DTD without popping stale validation states. Attackers supplying an XML document ending inside an element to an application reusing a DTD-validating xmlTextReader can trigger heap reads, causing crashes and limited heap disclosure via error messages.
  • CVE-2026-137068: libxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to crash applications by triggering xmlFreeNode on a stale reader->faketext node after xmlTextReader reuse. Attackers can supply XML containing a namespace declaration to applications that read its value and reuse the reader, causing a freed document's dictionary read and process crash.
  • CVE-2026-137069: libxml2 2.13.0 through 2.15.4 contains a denial of service vulnerability because xmlTextReaderSetup does not reset reader->state when a reader is reused. Attackers can submit one malformed XML document to an application reusing a single reader, causing every later document to be rejected until the reader is recreated.
  • CVE-2026-137072: GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability that allows attackers to trigger stale DTD validation states after xmlTextReaderCurrentDoc documents are freed. Attackers can supply an XML document ending with an error inside an element, causing xmlTextReaderClose to read freed element declarations, leading to crashes and possible invalid frees.
  • CVE-2026-137073: GNOME libxml2 through 2.15.4 contains a double free vulnerability in xmlReaderNewWalker() that frees reader->input again after xmlTextReaderClose() already released it. Applications reusing a closed xmlTextReader with xmlReaderNewWalker() can crash, and groomed heap memory can control the close callback for possible code execution.
  • CVE-2026-137074: GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves ctxt->input NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt->input->flags without a check, crashing the application and causing denial of service.
  • CVE-2026-137075: GNOME libxml2 2.14.0 through 2.15.4 contains a missing NUL termination flaw in xmlBufferAddHead() in buf.c that leaves uninitialized heap bytes as the terminator for storage-less buffers. Attackers supplying data to applications reusing an xmlBuffer can trigger over-reads via xmlBufferCat() and xmlStrlen(), disclosing adjacent heap memory or causing crashes.
  • CVE-2026-137082: GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XML_PARSE_SAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.
Created: 2026-11-26 Last update: 2026-11-29 21:32
Depends on packages which need a new maintainer normal
The packages that libxml2 depends on which need a new maintainer are:
  • docbook-xsl (#802370)
    • Build-Depends-Indep: docbook-xsl
Created: 2025-10-25 Last update: 2026-12-02 21:00
lintian reports 1 warning normal
Lintian reports 1 warning about this package. You should make the package lintian clean getting rid of them.
Created: 2026-09-07 Last update: 2026-09-07 21:00
debian/patches: 3 patches to forward upstream low

Among the 3 debian patches available in version 2.15.4+dfsg-1 of the package, we noticed the following issues:

  • 3 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-09-06 12:02
news
[rss feed]
  • [2026-11-29] Accepted libxml2 2.15.4+dfsg-1~bpo13+1 (source amd64 all) into stable-backports (Debian FTP Masters) (signed by: bage@debian.org)
  • [2026-09-11] libxml2 2.15.4+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2026-09-05] Accepted libxml2 2.15.4+dfsg-1 (source) into unstable (Aron Xu)
  • [2026-06-10] libxml2 2.15.3+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2026-06-09] Accepted libxml2 2.9.14+dfsg-1.3~deb12u6 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: Guilhem Moulin)
  • [2026-06-09] Accepted libxml2 2.12.7+dfsg+really2.9.14-2.1+deb13u3 (source) into proposed-updates (Debian FTP Masters) (signed by: Guilhem Moulin)
  • [2026-06-08] Accepted libxml2 2.9.10+dfsg-6.7+deb11u10 (source) into oldoldstable-security (Guilhem Moulin)
  • [2026-06-05] Accepted libxml2 2.15.3+dfsg-1 (source) into unstable (Aron Xu)
  • [2026-03-28] libxml2 2.15.2+dfsg-0.1 MIGRATED to testing (Debian testing watch)
  • [2026-03-25] Accepted libxml2 2.15.2+dfsg-0.1 (source) into unstable (Matthias Klose)
  • [2025-12-07] Accepted libxml2 2.9.14+dfsg-1.3~deb12u5 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: Guilhem Moulin)
  • [2025-11-30] libxml2 2.15.1+dfsg-2 MIGRATED to testing (Debian testing watch)
  • [2025-11-26] Accepted libxml2 2.15.1+dfsg-2 (source) into unstable (Aron Xu)
  • [2025-11-25] libxml2 2.15.1+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2025-11-23] Accepted libxml2 2.15.1+dfsg-1 (source) into unstable (Aron Xu)
  • [2025-11-23] Accepted libxml2 2.15.1+dfsg-0.5 (source) into unstable (Matthias Klose)
  • [2025-11-18] libxml2 2.15.1+dfsg-0.4 MIGRATED to testing (Debian testing watch)
  • [2025-11-14] Accepted libxml2 2.15.1+dfsg-0.4 (source amd64 all) into unstable (Debian FTP Masters) (signed by: Matthias Klose)
  • [2025-11-13] libxml2 2.15.1+dfsg-0.3 MIGRATED to testing (Debian testing watch)
  • [2025-10-25] Accepted libxml2 2.15.1+dfsg-0.3 (source) into unstable (Matthias Klose)
  • [2025-10-24] Accepted libxml2 2.15.1+dfsg-0.2 (source) into unstable (Matthias Klose)
  • [2025-10-21] Accepted libxml2 2.15.1+dfsg-0.1 (source) into experimental (Matthias Klose)
  • [2025-10-20] Accepted libxml2 2.12.7+dfsg+really2.9.14-2.1+deb13u2 (source) into proposed-updates (Debian FTP Masters) (signed by: Guilhem Moulin)
  • [2025-10-08] libxml2 2.14.6+dfsg-0.1 MIGRATED to testing (Debian testing watch)
  • [2025-10-05] Accepted libxml2 2.15.0+dfsg-0.3 (source) into experimental (Matthias Klose)
  • [2025-10-05] Accepted libxml2 2.15.0+dfsg-0.2 (source) into experimental (Matthias Klose)
  • [2025-10-05] Accepted libxml2 2.15.0+dfsg-0.1 (source) into experimental (Matthias Klose)
  • [2025-10-05] Accepted libxml2 2.14.6+dfsg-0.1 (source) into unstable (Matthias Klose)
  • [2025-09-30] Accepted libxml2 2.9.10+dfsg-6.7+deb11u9 (source) into oldoldstable-security (Guilhem Moulin)
  • [2025-08-29] Accepted libxml2 2.9.14+dfsg-1.3~deb12u4 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: Aron Xu)
  • 1
  • 2
bugs [bug history graph]
  • all: 20 21
  • RC: 0
  • I&N: 14 15
  • M&W: 6
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.15.4+dfsg-1build1
  • 23 bugs

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing