Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

Libhtml parser perl: HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities.

0
Medium
Published: 06/04/2026 (06/04/2026, 03:16:00 UTC)
Source: GCVE Database
Product: libhtml-parser-perl

Description

HTML::Entities versions before 3.84 for Perl contain a vulnerability in the _decode_entities function where freed heap memory is read. This occurs due to a cached pointer into a reallocated and freed string buffer, leading to potential disclosure of adjacent heap contents. The issue affects multiple specific versions of libhtml-parser-perl, primarily used in various Ubuntu LTS releases. The vulnerability allows reading sensitive memory but does not impact integrity or availability.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

Ubuntu:14.04:LTSmore threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=trusty
Affected versions
=3.71-1=3.71-1build1
Ubuntu:16.04:LTSmore threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=xenial
Affected versions
=3.71-2=3.71-2build1=3.72-1
Ubuntu:18.04:LTSmore threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=bionic
Affected versions
=3.72-3build1
Ubuntu:20.04:LTSmore threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
=3.72-3build2=3.72-3build3=3.72-5
Ubuntu:22.04:LTSmore threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
<3.76-1ubuntu0.1=3.76-1=3.76-1build1=3.76-1build2
Ubuntu:24.04:LTSmore threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
<3.81-1ubuntu0.1=3.81-1=3.81-1build1=3.81-1build2=3.81-1build3
Ubuntu:25.10more threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=3.83-1build1
Ubuntu:26.04:LTSmore threats →ghsa
libhtml-parser-perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
<3.83-1ubuntu0.1=3.83-1build1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:55:50 UTC

Technical Analysis

The vulnerability exists in the XS routine backing HTML::Entities::_decode_entities in versions before 3.84. It involves caching a pointer into the entity-value SV returned by hv_fetch on the entity2char hash. When the input SV matches a value SV containing its own key as an entity reference, a subsequent grow_gap() call reallocates the SV's PV buffer and frees the original allocation that the cached pointer references. This leads to reading freed heap memory during a copy loop, potentially disclosing adjacent heap contents into the destination SV. This is a use-after-free read vulnerability affecting specific versions of libhtml-parser-perl used in Ubuntu distributions.

Potential Impact

The vulnerability allows an attacker to read freed heap memory, which may disclose adjacent heap contents. This can lead to information disclosure (confidentiality impact) but does not affect integrity or availability. There are no known exploits in the wild as of the provided data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor official Ubuntu security advisories for updates or patches addressing this issue. Until a patch is available, avoid processing untrusted input with affected versions of HTML::Entities to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-8829
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:14.04:LTS","Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a6151239c2644c7f8da621c

Added to database: 07/22/2026, 23:24:19 UTC

Last enriched: 07/22/2026, 23:55:50 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 19

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses