Skip to content
Heist/ feed
Back to feed
UnratedFix available

libxml2: Fix of 5 CVEs

Type: advisorySources: OSV

- 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

Products
libxml2, libxml2-devel, libxml2-static, python3-libxml2
Affected versions
Not specified
Fixed versions
2.9.7-9.el8_4.2.tuxcare.els18
CVEs
CVE-2026-86140, CVE-2026-86141, CVE-2026-86142, CVE-2026-86143, CVE-2026-86144
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:13 UTC · Revision 1

Source evidence

libxml2: Fix of 5 CVEs

core-osv · Original source

Published 17 Sept 2026, 18:07 UTC

- 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

osv:CLSA-2026-1789668422

libxml2

Fixed versions: 2.9.7-9.el8_4.2.tuxcare.els18

libxml2-devel

Fixed versions: 2.9.7-9.el8_4.2.tuxcare.els18

libxml2-static

Fixed versions: 2.9.7-9.el8_4.2.tuxcare.els18

python3-libxml2

Fixed versions: 2.9.7-9.el8_4.2.tuxcare.els18

Complete source record
{
  "id": "71a42604c53dafedfcaa3d094c36c848aba4bd3c73fba361a69ad1495d8323ee",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1789668422",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "libxml2: Fix of 5 CVEs",
    "summary": "- 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",
    "evidence": "osv:CLSA-2026-1789668422",
    "products": [
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.7-9.el8_4.2.tuxcare.els18",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2-devel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.7-9.el8_4.2.tuxcare.els18",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2-static",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.7-9.el8_4.2.tuxcare.els18",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3-libxml2",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.7-9.el8_4.2.tuxcare.els18",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1789668422",
      "aliases": [
        "CLSA-2026-1789668422"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.7-9.el8_4.2.tuxcare.els18"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:rpm/tuxcare/libxml2?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1789668422.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.7-9.el8_4.2.tuxcare.els18"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2-devel",
            "purl": "pkg:rpm/tuxcare/libxml2-devel?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1789668422.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.7-9.el8_4.2.tuxcare.els18"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2-static",
            "purl": "pkg:rpm/tuxcare/libxml2-static?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1789668422.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.7-9.el8_4.2.tuxcare.els18"
                }
              ]
            }
          ],
          "package": {
            "name": "python3-libxml2",
            "purl": "pkg:rpm/tuxcare/python3-libxml2?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1789668422.json"
          }
        }
      ],
      "modified": "2026-10-26T09:31:50.616503933Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-86140",
        "CVE-2026-86141",
        "CVE-2026-86142",
        "CVE-2026-86143",
        "CVE-2026-86144"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/centos8.4els/CLSA-2026-1789668422.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-86140",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-86141",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-86142",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-86143",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-86144"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-86140",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-86141",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-86142",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-86143",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-86144",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 448655,
  "published_at": "2026-09-17T18:07:17+00:00"
}