CVE-2026-8829
published high CVSS 3.1 · 7.5HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OALDERS | — | HTML-ParserHTML::Entities · 0 to < 3.84 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3357 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1836 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | libhtml-parser-perl | Advisory build | 3.75-1+deb11u1 | DLA-4655-1 |
| SUSE / openSUSE | SLE-12-SP5 | perl-HTML-Parserx86_64 | Advisory build | 3.71-3.3.1 | SUSE-SU-2026:2948-1 |
| Ubuntu | jammy | libhtml-parser-perl | Advisory build | 3.76-1ubuntu0.1 | USN-8587-1 |
| Amazon Linux | AL2 | perl-HTML-Parseraarch64 | Listed in advisory | Not stated | ALAS2-2026-3357 |
| SUSE / openSUSE | SLE-15-SP7 | perl-HTML-Parseraarch64 | Advisory build | 3.830.0-150000.3.6.1 | SUSE-SU-2026:2950-1 |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | perl-HTML-Parserppc64le | Advisory build | 3.830.0-150000.3.6.1 | SUSE-SU-2026:2950-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-HTML-Parsers390x | Advisory build | 3.830.0-150000.3.6.1 | SUSE-SU-2026:2950-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-HTML-Parserx86_64 | Advisory build | 3.830.0-150000.3.6.1 | SUSE-SU-2026:2950-1 |
| SUSE / openSUSE | SLE-16 | perl-HTML-Parseraarch64 | Advisory build | 3.830.0-160000.3.1 | SUSE-SU-2026:22189-1 |
| SUSE / openSUSE | SLE-16 | perl-HTML-Parserppc64le | Advisory build | 3.830.0-160000.3.1 | SUSE-SU-2026:22189-1 |
| SUSE / openSUSE | SLE-16 | perl-HTML-Parsers390x | Advisory build | 3.830.0-160000.3.1 | SUSE-SU-2026:22189-1 |
| SUSE / openSUSE | SLE-16 | perl-HTML-Parserx86_64 | Advisory build | 3.830.0-160000.3.1 | SUSE-SU-2026:22189-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-HTML-Parseraarch64 | Advisory build | 3.830.0-160000.3.1 | OPENSUSE-SU-2026:21126-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-HTML-Parserppc64le | Advisory build | 3.830.0-160000.3.1 | OPENSUSE-SU-2026:21126-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-HTML-Parsers390x | Advisory build | 3.830.0-160000.3.1 | OPENSUSE-SU-2026:21126-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-HTML-Parserx86_64 | Advisory build | 3.830.0-160000.3.1 | OPENSUSE-SU-2026:21126-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-Parseraarch64 | Advisory build | 3.850.0-1.1 | OPENSUSE-SU-2026:10957-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-Parserppc64le | Advisory build | 3.850.0-1.1 | OPENSUSE-SU-2026:10957-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-Parsers390x | Advisory build | 3.850.0-1.1 | OPENSUSE-SU-2026:10957-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTML-Parserx86_64 | Advisory build | 3.850.0-1.1 | OPENSUSE-SU-2026:10957-1 |
| Ubuntu | noble | libhtml-parser-perl | Advisory build | 3.81-1ubuntu0.1 | USN-8587-1 |
| Ubuntu | resolute | libhtml-parser-perl | Advisory build | 3.83-1ubuntu0.1 | USN-8587-1 |
| Amazon Linux | AL2 | perl-HTML-Parseri686 | Listed in advisory | Not stated | ALAS2-2026-3357 |
| Amazon Linux | AL2 | perl-HTML-Parsersrc | Listed in advisory | Not stated | ALAS2-2026-3357 |
| Amazon Linux | AL2 | perl-HTML-Parserx86_64 | Listed in advisory | Not stated | ALAS2-2026-3357 |
| Amazon Linux | AL2023 | perl-HTML-Parseraarch64 | Listed in advisory | Not stated | ALAS2023-2026-1836 |
| Amazon Linux | AL2023 | perl-HTML-Parsersrc | Listed in advisory | Not stated | ALAS2023-2026-1836 |
| Amazon Linux | AL2023 | perl-HTML-Parserx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1836 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OALDERS | HTML::Entities | 0 to < 3.84 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4Provider assertions
3CPANSec · cna
HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf0b4c84f84d5e3cff7bbe81068523756c87c0a4d0dcc9c012eab92068b06075
- Ingested
- 23 Sep 2026, 09:39:07 UTC
- Source record
- Official CVE record