Skip to main content
VulnerabilityPublished Updated

CVE-2026-8829: Libhtml parser perl · HTML::Entities versions before 3.84 for Perl read freed heap memory in

Affects libhtml-parser-perlSource GCVE Database

0
Authoritative record:CVE-2026-8829· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 3.76-1ubuntu0.1 : patch libhtml-parser-perl soon.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.76-1ubuntu0.1, 3.81-1ubuntu0.1, 3.83-1ubuntu0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade the Ubuntu libhtml-parser-perl to 3.76-1ubuntu0.1 (package) or 3.81-1ubuntu0.1 (package) or 3.83-1ubuntu0.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibhtml-parser-perlpkg:deb/ubuntu/libhtml-parser-perl?arch=source&distro=resoluteOther threatsAffected
  • <3.83-1ubuntu0.1
Fixed in
  • 3.83-1ubuntu0.1
Ubuntu 25.10libhtml-parser-perlpkg:deb/ubuntu/libhtml-parser-perl?arch=source&distro=questingOther threatsAffected
  • =3.83-1build1
Fixed in–
Ubuntu 24.04 LTSlibhtml-parser-perlpkg:deb/ubuntu/libhtml-parser-perl?arch=source&distro=nobleOther threatsAffected
  • <3.81-1ubuntu0.1
Fixed in
  • 3.81-1ubuntu0.1
Ubuntu 22.04 LTSlibhtml-parser-perlpkg:deb/ubuntu/libhtml-parser-perl?arch=source&distro=jammyOther threatsAffected
  • <3.76-1ubuntu0.1
Fixed in
  • 3.76-1ubuntu0.1
Ubuntu 20.04 LTSlibhtml-parser-perlpkg:deb/ubuntu/libhtml-parser-perl?arch=source&distro=focalOther threatsAffected
  • =3.72-3build2
  • =3.72-3build3
  • =3.72-5
Fixed in–
Ubuntu 18.04 LTSlibhtml-parser-perlpkg:deb/ubuntu/libhtml-parser-perl?arch=source&distro=bionicOther threatsAffected
  • =3.72-3build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…