CVE-2026-8829 Affecting libhtml-parser-perl package, versions <3.83-2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-DEBIAN14-LIBHTMLPARSERPERL-17151893
  • published4 Jun 2026
  • disclosed4 Jun 2026

Introduced: 4 Jun 2026

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

How to fix?

Upgrade Debian:14 libhtml-parser-perl to version 3.83-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libhtml-parser-perl package and not the libhtml-parser-perl package as distributed by Debian. See How to fix? for Debian:14 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