Bug 2496536

Summary: CVE-2025-15646 perl-HTML-Gumbo: HTML::Gumbo: Information disclosure through HTML template processing [fedora-all]
Product: [Fedora] Fedora Reporter: Keith Grant <kgrant>
Component: perl-HTML-GumboAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: emmanuel, gwync
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["1160d4e9-55a1-4f80-9a2e-fc2030c336dc"]}
Fixed In Version: perl-HTML-Gumbo-0.19-1.fc43 perl-HTML-Gumbo-0.19-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-11 00:54:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2496031    

Description Keith Grant 2026-07-02 13:33:04 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion.

Support for the <template> element was added to libgumbo 0.10.0 in 2015, but the walk_tree function in lib/HTML/Gumbo.xs was not updated to support it. The element was treated as a text-node, where strlen() over-reads the heap block that the pointer addresses.

Any caller that runs parse() with the default format => 'string', or with format => 'tree', on input containing a <template> element serializes the over-read bytes into the returned result, disclosing bounded heap contents. format => 'callback' reaches a croak on the unhandled node type and is unaffected.

Comment 1 Fedora Update System 2026-07-02 21:04:43 UTC
FEDORA-2026-a457bf78b4 (perl-HTML-Gumbo-0.19-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a457bf78b4

Comment 2 Fedora Update System 2026-07-02 21:04:44 UTC
FEDORA-2026-75010c7f44 (perl-HTML-Gumbo-0.19-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-75010c7f44

Comment 3 Fedora Update System 2026-07-03 01:26:54 UTC
FEDORA-2026-75010c7f44 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-75010c7f44`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-75010c7f44

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-07-03 01:47:54 UTC
FEDORA-2026-a457bf78b4 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a457bf78b4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a457bf78b4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-07-11 00:54:34 UTC
FEDORA-2026-a457bf78b4 (perl-HTML-Gumbo-0.19-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-07-11 01:07:38 UTC
FEDORA-2026-75010c7f44 (perl-HTML-Gumbo-0.19-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.