---
title: "CVE-2026-8829"
canonical_url: "https://pkgseek.com/security/CVE-2026-8829"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-8829

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…

CVE-2026-8829 is rated HIGH (7.5), with 3 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 3
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | libhtml-parser-perl | 3.72-5 | — |
| Ubuntu | jammy | libhtml-parser-perl | 3.76-1build2 | — |
| Ubuntu | noble | libhtml-parser-perl | 3.81-1build3 | — |
