CVE catalog

CVE-2026-8829

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 retur

[CVE catalog]

Severity
High · CVSS 7.5
Published
Source
[NVD] · [CVE record]
EPSS
0.41% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibhtml-parser-perlsid3.86-1fixed
Debianlibhtml-parser-perlforky3.83-2fixed
Debianlibhtml-parser-perltrixie3.83-2~deb13u1fixed
Debianlibhtml-parser-perlbookworm3.81-1+deb12u1fixed
Cpehtml\Not reported3.84fixed
Cpelibhtml-parser-perlNot reported3.81-1+deb12u1fixed
Ubuntulibhtml-parser-perlnoble3.81-1ubuntu0.1fixed
Ubuntulibhtml-parser-perl22.043.76-1vulnerable
Ubuntulibhtml-parser-perl22.043.76-1build1vulnerable
Ubuntulibhtml-parser-perl22.043.76-1build2vulnerable
Ubuntulibhtml-parser-perl22.043.76-1ubuntu0.1fixed
Ubuntulibhtml-parser-perl24.043.81-1vulnerable
Ubuntulibhtml-parser-perl24.043.81-1build1vulnerable
Ubuntulibhtml-parser-perl24.043.81-1build2vulnerable
Ubuntulibhtml-parser-perl24.043.81-1build3vulnerable
Ubuntulibhtml-parser-perl24.043.81-1ubuntu0.1fixed
Ubuntulibhtml-parser-perl26.043.83-1build1vulnerable
Ubuntulibhtml-parser-perl26.043.83-1ubuntu0.1fixed
Ubuntulibhtml-parser-perl14.043.71-1vulnerable
Ubuntulibhtml-parser-perl14.043.71-1build1vulnerable
Ubuntulibhtml-parser-perl16.043.71-2vulnerable
Ubuntulibhtml-parser-perl16.043.71-2build1vulnerable
Ubuntulibhtml-parser-perl16.043.72-1vulnerable
Ubuntulibhtml-parser-perl18.043.72-3build1vulnerable
Ubuntulibhtml-parser-perl20.043.72-3build2vulnerable
Ubuntulibhtml-parser-perl20.043.72-3build3vulnerable
Ubuntulibhtml-parser-perl20.043.72-5vulnerable
Ubuntulibhtml-parser-perl22.043.76-1vulnerable
Ubuntulibhtml-parser-perl22.043.76-1build1vulnerable
Ubuntulibhtml-parser-perl22.043.76-1build2vulnerable
Ubuntulibhtml-parser-perl22.043.76-1ubuntu0.1fixed
Ubuntulibhtml-parser-perl24.043.81-1vulnerable
Ubuntulibhtml-parser-perl24.043.81-1build1vulnerable
Ubuntulibhtml-parser-perl24.043.81-1build2vulnerable
Ubuntulibhtml-parser-perl24.043.81-1build3vulnerable
Ubuntulibhtml-parser-perl24.043.81-1ubuntu0.1fixed
Ubuntulibhtml-parser-perl25.103.83-1build1vulnerable
Ubuntulibhtml-parser-perl26.043.83-1build1vulnerable
Ubuntulibhtml-parser-perl26.043.83-1ubuntu0.1fixed
Suseperl-HTML-Parserlinux enterprise module for basesystem 15 sp73.830.0-150000.3.6.1fixed
Suseperl-HTML-Parserlinux enterprise server ltss extended security 12 sp53.71-3.3.1fixed
Opensuseperl-HTML-Parserleap 16.03.830.0-160000.3.1fixed
Suseperl-HTML-Parserlinux enterprise server 16.03.830.0-160000.3.1fixed
Suseperl-HTML-Parserlinux enterprise server for sap applications 16.03.830.0-160000.3.1fixed
Opensuseperl-HTML-Parsertumbleweed3.850.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibhtml-parser-perlsourcesid3.83-2not yet assignedNot reportedNot reported
Debianlibhtml-parser-perlsourceforky3.83-2not yet assignedNot reportedNot reported
Debianlibhtml-parser-perlsourcetrixie3.83-2~deb13u1not yet assignedNot reportedNot reported
Debianlibhtml-parser-perlsourcebookworm3.81-1+deb12u1not yet assignedNot reportedNot reported
Cpehtml\cpeNot reported3.84Not reportedNot reportedNot reported
Cpelibhtml-parser-perlcpeNot reported3.81-1+deb12u1Not reportedNot reportedNot reported
Ubuntulibhtml-parser-perldebnoble3.81-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibhtml-parser-perldeb22.043.76-1ubuntu0.1Not reportedUSN-8587-1Not reported
Ubuntulibhtml-parser-perldeb24.043.81-1ubuntu0.1Not reportedUSN-8587-1Not reported
Ubuntulibhtml-parser-perldeb26.043.83-1ubuntu0.1Not reportedUSN-8587-1Not reported
Ubuntulibhtml-parser-perldeb22.043.76-1ubuntu0.1Not reportedUBUNTU-CVE-2026-8829Not reported
Ubuntulibhtml-parser-perldeb24.043.81-1ubuntu0.1Not reportedUBUNTU-CVE-2026-8829Not reported
Ubuntulibhtml-parser-perldeb26.043.83-1ubuntu0.1Not reportedUBUNTU-CVE-2026-8829Not reported
Suseperl-HTML-Parserrpmlinux enterprise module for basesystem 15 sp73.830.0-150000.3.6.1Not reportedSUSE-SU-2026:2950-1Not reported
Suseperl-HTML-Parserrpmlinux enterprise server ltss extended security 12 sp53.71-3.3.1Not reportedSUSE-SU-2026:2948-1Not reported
Opensuseperl-HTML-Parserrpmleap 16.03.830.0-160000.3.1Not reportedOPENSUSE-SU-2026:21126-1Not reported
Suseperl-HTML-Parserrpmlinux enterprise server 16.03.830.0-160000.3.1Not reportedSUSE-SU-2026:22189-1Not reported
Suseperl-HTML-Parserrpmlinux enterprise server for sap applications 16.03.830.0-160000.3.1Not reportedSUSE-SU-2026:22189-1Not reported
Opensuseperl-HTML-Parserrpmtumbleweed3.850.0-1.1Not reportedOPENSUSE-SU-2026:10957-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 3.81-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.81-1+deb12u1

      nvd · libhtml-parser-perl · debian · bookworm; nvd · libhtml-parser-perl · debian · 12

    • 3.81-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.81-1+deb12u1

      nvd · libhtml-parser-perl · debian · bookworm; nvd · libhtml-parser-perl · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 3.83-2~deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.83-2~deb13u1

      nvd · libhtml-parser-perl · debian · 13

    • 3.83-2~deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.83-2~deb13u1

      nvd · libhtml-parser-perl · debian · 13

[openSUSE Tumbleweed]

  • Source package: [perl-HTML-Parser]

    Details (1)
    • 3.850.0-2.4 · x86_64 · tumbleweed

      Fixed · Fixed: 3.850.0-1.1

      nvd · perl-HTML-Parser · opensuse · tumbleweed

Observed:

References