CVE-2026-8829

Publication date 4 June 2026

Last updated 6 August 2026


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

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.

Status

Package Ubuntu Release Status
libhtml-parser-perl 26.04 LTS resolute
Fixed 3.83-1ubuntu0.1
25.10 questing Ignored end of life, was needs-triage
24.04 LTS noble
Fixed 3.81-1ubuntu0.1
22.04 LTS jammy
Fixed 3.76-1ubuntu0.1
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty
Needs evaluation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libhtml-parser-perl

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-8587-1
    • HTML-Parser vulnerability
    • 22 July 2026

Other references


Access our resources on patching vulnerabilities