Advisory

DEBIAN-CVE-2026-8829

Also known as: CVE-2026-8829

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-06-04 03:16 UTC
Modified
2026-10-01 03:03 UTC

Affected packages and fixes

libhtml-parser-perl

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.81-1+deb12u1 (ecosystem)

Fixed versions

3.81-1+deb12u1

Fix

  • Fixed version 3.81-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libhtml-parser-perl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.83-2~deb13u1 (ecosystem)

Fixed versions

3.83-2~deb13u1

Fix

  • Fixed version 3.83-2~deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libhtml-parser-perl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.83-2 (ecosystem)

Fixed versions

3.83-2

Fix

  • Fixed version 3.83-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences