{"id":"DEBIAN-CVE-2026-8829","details":"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.","modified":"2026-09-14T17:03:38.089880102Z","published":"2026-06-04T03:16:20.260Z","upstream":["CVE-2026-8829"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-8829"}],"affected":[{"package":{"name":"libhtml-parser-perl","ecosystem":"Debian:12","purl":"pkg:deb/debian/libhtml-parser-perl?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.81-1+deb12u1"}]}],"versions":["3.81-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8829.json"}},{"package":{"name":"libhtml-parser-perl","ecosystem":"Debian:13","purl":"pkg:deb/debian/libhtml-parser-perl?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.83-2~deb13u1"}]}],"versions":["3.83-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8829.json"}},{"package":{"name":"libhtml-parser-perl","ecosystem":"Debian:14","purl":"pkg:deb/debian/libhtml-parser-perl?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.83-2"}]}],"versions":["3.83-1","3.83-2~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8829.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}