Skip to content
Heist/ feed
Back to feed
CriticalFix available

libxml-parser-perl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2006-10003

XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack. In the case (stackptr == stacksize - 1), the stack will NOT be expanded. Then the new value will be written at location (++stackptr), which equals stacksize and therefore falls just outside the allocated buffer. The bug can be observed when parsing an XML file with very deep element nesting

Products
libxml-parser-perl
Affected versions
2.46-4, 2.47-1, 2.47-2~deb13u1
Fixed versions
2.46-4+deb12u1, 2.47-2, 2.47-2~deb13u1
CVEs
CVE-2006-10003
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 20:21 UTC · Revision 1

Source evidence

DEBIAN-CVE-2006-10003

core-osv · Original source

Published 19 Mar 2026, 12:16 UTC

XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack. In the case (stackptr == stacksize - 1), the stack will NOT be expanded. Then the new value will be written at location (++stackptr), which equals stacksize and therefore falls just outside the allocated buffer. The bug can be observed when parsing an XML file with very deep element nesting

osv:DEBIAN-CVE-2006-10003

libxml-parser-perl

Fixed versions: 2.46-4+deb12u1

libxml-parser-perl

Fixed versions: 2.47-2~deb13u1

libxml-parser-perl

Fixed versions: 2.47-2

Complete source record
{
  "id": "9b1c13ef5ee0f85d88b2cdd155cefdf06a9d42fd303f07b44d830e061658be77",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2006-10003",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2006-10003",
    "summary": "XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack. In the case (stackptr == stacksize - 1), the stack will NOT be expanded. Then the new value will be written at location (++stackptr), which equals stacksize and therefore falls just outside the allocated buffer. The bug can be observed when parsing an XML file with very deep element nesting",
    "evidence": "osv:DEBIAN-CVE-2006-10003",
    "products": [
      {
        "name": {
          "value": "libxml-parser-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.46-4+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.46-4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-parser-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.47-2~deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.47-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libxml-parser-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.47-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.47-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.47-2~deb13u1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2006-10003",
      "aliases": [
        "DEBIAN-CVE-2006-10003"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.46-4+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-parser-perl",
            "purl": "pkg:deb/debian/libxml-parser-perl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.46-4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-10003.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.47-2~deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-parser-perl",
            "purl": "pkg:deb/debian/libxml-parser-perl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2.47-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-10003.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.47-2"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml-parser-perl",
            "purl": "pkg:deb/debian/libxml-parser-perl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.47-1",
            "2.47-2~deb13u1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-10003.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        }
      ],
      "modified": "2026-10-23T00:01:06.884504802Z",
      "provider": "osv",
      "upstream": [
        "CVE-2006-10003"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2006-10003"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2006-10003",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 410951,
  "published_at": "2026-03-19T12:16:17.047+00:00"
}