{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-15646 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-15646 is a critical vulnerability in BPS HTML::Gumbo, published on 1 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-15646 and fix it if it is affected.\n\nWhat it is: CVE-2025-15646 is a critical vulnerability in BPS HTML::Gumbo, published on 1 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-15646 in the wild and no public exploit code.\n\nAffected product: BPS HTML::Gumbo. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-15646/ (Markdown: https://insights.sbomify.com/CVE-2025-15646/index.md)","id":"CVE-2025-15646","markdown":"https://insights.sbomify.com/CVE-2025-15646/index.md","name":"CVE-2025-15646","record":{"aliases":["DEBIAN-CVE-2025-15646","GHSA-754r-h5mg-r795","UBUNTU-CVE-2025-15646"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl HTML parsing library","requires_auth":"none","summary":"Attackers can disclose bounded heap memory by providing HTML containing a template element to the HTML::Gumbo Perl library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CPANSec","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion.\n\nSupport for the \u003ctemplate\u003e 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.\n\nAny caller that runs parse() with the default format =\u003e 'string', or with format =\u003e 'tree', on input containing a \u003ctemplate\u003e element serializes the over-read bytes into the returned result, disclosing bounded heap contents. format =\u003e 'callback' reaches a croak on the unhandled node type and is unaffected.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"HTML::Gumbo versions before 0.19 for Perl disclose heap memory via type confusion","id":"CVE-2025-15646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"CDT before 1.4.5 Out-of-Bounds Read via opposedVertexInd","id":"CVE-2025-15647"},"packages":[],"prev":{"headline":"Ledger Nano X, Flex, Stax MCU Firmware Update Denial of Service","id":"CVE-2025-15645"},"products":["HTML::Gumbo"],"published":"2026-07-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-01","vendors":["BPS"]},"summary":"Attackers can disclose bounded heap memory by providing HTML containing a template element to the HTML::Gumbo Perl library.","url":"https://insights.sbomify.com/CVE-2025-15646/"}