CVE-2026-8829 Affecting perl-HTML-Parser-debuginfo package, versions <0:3.71-4.amzn2.0.3


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.41% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PERLHTMLPARSERDEBUGINFO-17406307
  • published23 Jun 2026
  • disclosed4 Jun 2026

Introduced: 4 Jun 2026

CVE-2026-8829  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perl-HTML-Parser-debuginfo to version 0:3.71-4.amzn2.0.3 or higher.
This issue was patched in ALAS2-2026-3357.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-HTML-Parser-debuginfo package and not the perl-HTML-Parser-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1