CVE-2026-8829: HTML::Entities - Information Disclosure
- Cve: CVE-2026-8829
- Name: HTML::Entities - Information Disclosure
- 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.
- Impact: Attackers can disclose adjacent heap memory contents, potentially leaking sensitive information.
- Remediation: Update to version 3.84 or later.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00408
- Epss percentile: 0.35849
- Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
- Published at: 2026-06-04T03:16:20Z
- Age in days: 173
- Modified at: 2026-07-22T20:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-8829
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/libwww-perl/HTML-Parser/commit/6922552b0778c90a9587a3894e248be4d3a25e1c.patch | Patch |
| https://github.com/libwww-perl/HTML-Parser/pull/56 | Issue Tracking, Patch |
| http://www.openwall.com/lists/oss-security/2026/06/04/2 | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2026/06/msg00044.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| oalders:html::entities | < 3.84 | no | nvd | /v1/products/oalders/html::entities |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| libwww-perl/HTML-Parser | commit, fix, pull | yes | /v1/repositories/libwww-perl/HTML-Parser |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts