UbuntuUpdates.org

Package "python3-libxml2"

Name: python3-libxml2

Description:

GNOME XML library - Python3 bindings

Latest version: 2.9.13+dfsg-1ubuntu0.14
Release: jammy (22.04)
Level: updates
Repository: universe
Head package: libxml2
Homepage: http://xmlsoft.org

Links


Download "python3-libxml2"


Other versions of "python3-libxml2" in Jammy

Repository Area Version
base universe 2.9.13+dfsg-1build1
security universe 2.9.13+dfsg-1ubuntu0.14

Changelog

Version: 2.9.13+dfsg-1ubuntu0.14 2026-10-09 00:07:42 UTC

libxml2 (2.9.13+dfsg-1ubuntu0.14) jammy-security; urgency=medium

  * SECURITY UPDATE: NULL pointer dereference when parsing XML catalogs
    - debian/patches/CVE-2026-76781.patch: Skip the duplicate nextCatalog
      check when the catalog attribute is missing in catalog.c.
    - CVE-2026-76781
  * SECURITY UPDATE: integer overflow leading to heap-based buffer overflow
    in xmlDictAddQString
    - debian/patches/CVE-2026-86138.patch: Add overflow checks to the pool
      size calculations in xmlDictAddQString in dict.c.
    - CVE-2026-86138
  * SECURITY UPDATE: heap-based buffer overflow in XPointer evaluation
    - debian/patches/CVE-2026-86142.patch: Return an error when xmlStrlen
      reports an overflowed expression in xmlXPtrEvalXPtrPart in xpointer.c.
    - CVE-2026-86142
  * SECURITY UPDATE: integer overflow in length passed to output callbacks
    - debian/patches/CVE-2026-86143.patch: Fail when the output buffer holds
      >= INT_MAX bytes in xmlIO.c.
    - CVE-2026-86143
  * SECURITY UPDATE: XInclude processing ignores parse flags
    - debian/patches/CVE-2026-86144.patch: Pass the document parseFlags to
      xmlXIncludeProcess and xmlXIncludeProcessTree and apply parse flags
      to text includes in xinclude.c.
    - CVE-2026-86144

 -- Charles Cochran Tue, 06 Oct 2026 12:46:29 -0400

Source diff to previous version
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
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-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 l
CVE-2026-86144 In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for

Version: 2.9.13+dfsg-1ubuntu0.13 2026-09-21 19:07:48 UTC

libxml2 (2.9.13+dfsg-1ubuntu0.13) jammy-security; urgency=medium

  * SECURITY UPDATE: stack-based buffer overflow in xmlSnprintfElements
    - debian/patches/CVE-2026-86140.patch: fix: add bounds checks to
      xmlSnprintfElements in valid.c in valid.c.
    - CVE-2026-86140
  * SECURITY UPDATE: double free in Python SAX attributeDecl callback
    - debian/patches/CVE-2026-74860.patch: python: Do not decref string after
      adding to the list in python/libxml.c.
    - CVE-2026-74860

 -- John Breton Thu, 17 Sep 2026 08:09:35 -0400

Source diff to previous version
CVE-2026-86140 In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow.
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 doc

Version: 2.9.13+dfsg-1ubuntu0.12 2026-06-22 18:07:28 UTC

  libxml2 (2.9.13+dfsg-1ubuntu0.12) jammy-security; urgency=medium

  * SECURITY UPDATE: heap-use-after-free in xmlParseInternalSubset
    - debian/patches/CVE-2026-6653.patch: rework entity amplification
      checks in parser.c, parserInternals.c, SAX2.c, entities.c,
      include/libxml/entities.h and include/libxml/parser.h.
    - CVE-2026-6653

 -- Sudhakar Verma <email address hidden> Thu, 30 Apr 2026 16:49:59 +0530

Source diff to previous version

Version: 2.9.13+dfsg-1ubuntu0.11 2026-01-23 01:55:26 UTC

  libxml2 (2.9.13+dfsg-1ubuntu0.11) jammy-security; urgency=medium

  * SECURITY UPDATE: Infinite recursion with SGML catalogs.
    - debian/patches/CVE-2025-8732.patch: Add catalog depth and checks in
      catalog.c. Add test files in result/catalogs/recursive and
      test/catalogs/recursive.sgml.
    - CVE-2025-8732
  * SECURITY UPDATE: Infinite recursion when resolving include directives in
    RelaxNG parser.
    - debian/patches/CVE-2026-0989.patch: Add xmlRelaxParserSetIncLImit in
      include/libxml/relaxng.h. Add include limit and checks in relaxng.c. Add
      test and test files in runtest.c,
      test/relaxng/include/include-limit.rng,
      test/relaxng/include/include-limit_1.rng,
      test/relaxng/include/include-limit_2.rng, and
      test/relaxng/include/include-limit_3.rng.
    - debian/libxml2.symbols: Add new xmlRelaxParserSetIncLImit symbol.
    - CVE-2026-0989
  * SECURITY UPDATE: Infinite recursion in URI dereferencing.
    - debian/patches/CVE-2026-0990.patch: Add MAX_CATAL_DEPTH and other checks
      in catalog.c.
    - CVE-2026-0990
  * SECURITY UPDATE: Uncontrolled resource consumption in catalogs.
    - debian/patches/CVE-2026-0992.patch: Add catalog duplication checks in
      catalog.c.
    - CVE-2026-0992

 -- Hlib Korzhynskyy <email address hidden> Wed, 21 Jan 2026 14:38:02 -0330

Source diff to previous version
CVE-2025-8732 A vulnerability was found in libxml2 up to 2.14.5. It has been declared as problematic. This vulnerability affects the function xmlParseSGMLCatalog o
CVE-2026-0989 A flaw was identified in the RelaxNG parser of libxml2 related to how external schema inclusions are handled. The parser does not enforce a limit on
CVE-2026-0990 A flaw was found in libxml2, an XML parsing library. This uncontrolled recursion vulnerability occurs in the xmlCatalogXMLResolveURI function when an
CVE-2026-0992 A flaw was found in the libxml2 library. This uncontrolled resource consumption vulnerability occurs when processing XML catalogs that contain repeat

Version: 2.9.13+dfsg-1ubuntu0.10 2025-10-31 09:07:06 UTC

  libxml2 (2.9.13+dfsg-1ubuntu0.10) jammy-security; urgency=medium

  * SECURITY UPDATE: libxslt internal memory corruption
    - debian/patches/CVE-2025-7425.patch: fix heap-use-after-free in
      xmlFreeID caused by atype corruption.
    - CVE-2025-7425

 -- Marc Deslauriers <email address hidden> Thu, 30 Oct 2025 09:31:20 -0400

CVE-2025-7425 A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT function



About   -   Send Feedback to @ubuntu_updates