Skip to content
Heist/ feed
Back to feed
CriticalFix available

libxml2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-49796

A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.

Products
libxml2
Affected versions
2.9.14+dfsg-1.2, 2.9.14+dfsg-1.3~deb12u1, 2.9.14+dfsg-1.3~deb12u2
Fixed versions
2.12.7+dfsg+really2.9.14-2, 2.9.14+dfsg-1.3~deb12u3
CVEs
CVE-2025-49796
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:08 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-49796

core-osv · Original source

Published 16 Jun 2025, 16:15 UTC

A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.

osv:DEBIAN-CVE-2025-49796

libxml2

Fixed versions: 2.9.14+dfsg-1.3~deb12u3

libxml2

Fixed versions: 2.12.7+dfsg+really2.9.14-2

libxml2

Fixed versions: 2.12.7+dfsg+really2.9.14-2

Complete source record
{
  "id": "365504f0f67a75209a0ccd019b4fe050dadc9b974d11255ece019053634363db",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-49796",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-49796",
    "summary": "A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.",
    "evidence": "osv:DEBIAN-CVE-2025-49796",
    "products": [
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.14+dfsg-1.3~deb12u3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.9.14+dfsg-1.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.9.14+dfsg-1.3~deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.9.14+dfsg-1.3~deb12u2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.12.7+dfsg+really2.9.14-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.12.7+dfsg+really2.9.14-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2025-49796",
      "aliases": [
        "DEBIAN-CVE-2025-49796"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.14+dfsg-1.3~deb12u3"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:deb/debian/libxml2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.9.14+dfsg-1.2",
            "2.9.14+dfsg-1.3~deb12u1",
            "2.9.14+dfsg-1.3~deb12u2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-49796.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.12.7+dfsg+really2.9.14-2"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:deb/debian/libxml2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-49796.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.12.7+dfsg+really2.9.14-2"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:deb/debian/libxml2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-49796.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T09:47:35.006994Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-49796"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-49796"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-49796",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111683,
  "published_at": "2025-06-16T16:15:19.37+00:00"
}