Skip to content
Heist/ feed
Back to feed
UnratedFix available

libxml2: Fix of 2 CVEs

Type: advisorySources: OSV

- CVE-2025-7425: clear the attribute type through the live attr argument in xmlRemoveID() instead of id->attr, which read the xmlID already freed by xmlHashRemoveEntry() - CVE-2022-23308: normalize the ID value in xmlRemoveID() after it is read from the attribute instead of before, where the pointer was uninitialized

Products
libxml2, libxml2-devel, libxml2-python, libxml2-static
Affected versions
Not specified
Fixed versions
2.9.1-6.0.13.el7_9.6.tuxcare.els2
CVEs
CVE-2022-23308, CVE-2025-7425
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:51 UTC · Revision 1

Source evidence

libxml2: Fix of 2 CVEs

core-osv · Original source

Published 7 Oct 2026, 00:21 UTC

- CVE-2025-7425: clear the attribute type through the live attr argument in xmlRemoveID() instead of id->attr, which read the xmlID already freed by xmlHashRemoveEntry() - CVE-2022-23308: normalize the ID value in xmlRemoveID() after it is read from the attribute instead of before, where the pointer was uninitialized

osv:CLSA-2026-1791118211

libxml2

Fixed versions: 2.9.1-6.0.13.el7_9.6.tuxcare.els2

libxml2-devel

Fixed versions: 2.9.1-6.0.13.el7_9.6.tuxcare.els2

libxml2-python

Fixed versions: 2.9.1-6.0.13.el7_9.6.tuxcare.els2

libxml2-static

Fixed versions: 2.9.1-6.0.13.el7_9.6.tuxcare.els2

Complete source record
{
  "id": "2dfdce504d3f3acb51b0987cd9f73ce323b6a6d4d86de0961375f9edd0a3a003",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1791118211",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "libxml2: Fix of 2 CVEs",
    "summary": "- CVE-2025-7425: clear the attribute type through the live attr argument in xmlRemoveID() instead of id->attr, which read the xmlID already freed by xmlHashRemoveEntry() - CVE-2022-23308: normalize the ID value in xmlRemoveID() after it is read from the attribute instead of before, where the pointer was uninitialized",
    "evidence": "osv:CLSA-2026-1791118211",
    "products": [
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.1-6.0.13.el7_9.6.tuxcare.els2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2-devel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.1-6.0.13.el7_9.6.tuxcare.els2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2-python",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.1-6.0.13.el7_9.6.tuxcare.els2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2-static",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.1-6.0.13.el7_9.6.tuxcare.els2",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1791118211",
      "aliases": [
        "CLSA-2026-1791118211"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.1-6.0.13.el7_9.6.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:rpm/tuxcare/libxml2?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1791118211.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.1-6.0.13.el7_9.6.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2-devel",
            "purl": "pkg:rpm/tuxcare/libxml2-devel?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1791118211.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.1-6.0.13.el7_9.6.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2-python",
            "purl": "pkg:rpm/tuxcare/libxml2-python?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1791118211.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.1-6.0.13.el7_9.6.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2-static",
            "purl": "pkg:rpm/tuxcare/libxml2-static?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2026-1791118211.json"
          }
        }
      ],
      "modified": "2026-10-26T09:43:35.363886708Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-23308",
        "CVE-2025-7425"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/centos7els/CLSA-2026-1791118211.html"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-23308",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2025-7425",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 450008,
  "published_at": "2026-10-07T00:21:21+00:00"
}