Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-8829

Type: advisorySource: OSV1 source record

HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities. The XS routine backing HTML::Entities::_decode_entities cached a pointer (repl) into the entity-value SV returned by hv_fetch on the entity2char hash. When the input SV was identical to a value SV in that hash, and that value contained its own key as an entity reference, a later call to grow_gap() reallocated the SV's PV buffer and freed the backing allocation that repl still pointed into. The subsequent copy loop read repl_len bytes from the freed allocation. The read may disclose adjacent heap contents into the destination SV.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-8829

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-8829

libhtml-parser-perl

Source reference: /affected/0/package/name

Affected versions
3.81-1

Source reference: /affected/0/versions

Fixed versions
3.81-1+deb12u1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

libhtml-parser-perl

Source reference: /affected/1/package/name

Affected versions
3.83-1

Source reference: /affected/1/versions

Fixed versions
3.83-2~deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

libhtml-parser-perl

Source reference: /affected/2/package/name

Affected versions
3.83-1

Source reference: /affected/2/versions

3.83-2~deb13u1

Source reference: /affected/2/versions

Fixed versions
3.83-2

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3.81-1+deb12u1"
          }
        ]
      }
    ],
    "package": {
      "name": "libhtml-parser-perl",
      "purl": "pkg:deb/debian/libhtml-parser-perl?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "3.81-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8829.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3.83-2~deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "libhtml-parser-perl",
      "purl": "pkg:deb/debian/libhtml-parser-perl?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "3.83-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8829.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3.83-2"
          }
        ]
      }
    ],
    "package": {
      "name": "libhtml-parser-perl",
      "purl": "pkg:deb/debian/libhtml-parser-perl?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "3.83-1",
      "3.83-2~deb13u1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8829.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#58561 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement