{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-6653 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-6653 is a high-severity use after free vulnerability in Xmlsoft Libxml2, published on 22 Jun 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-2026-6653 and fix it if it is affected.\n\nWhat it is: CVE-2026-6653 is a high-severity use after free vulnerability in Xmlsoft Libxml2, published on 22 Jun 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-2026-6653 in the wild and no public exploit code.\n\nAffected product: Xmlsoft Libxml2. 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-2026-6653/ (Markdown: https://insights.sbomify.com/CVE-2026-6653/index.md)","id":"CVE-2026-6653","markdown":"https://insights.sbomify.com/CVE-2026-6653/index.md","name":"CVE-2026-6653","record":{"aliases":["BELL-CVE-2026-6653","CLSA-2026-1785316608","CLSA-2026-1785317036","CLSA-2026-1785317328","CLSA-2026-1787732374","CLSA-2026-1789473529","DEBIAN-CVE-2026-6653","ECHO-145e-cea4-f440","GHSA-v4qw-p44r-qhfg","JLSEC-2026-1240","RHSA-2026:69655","RLSA-2026:69655","ROOT-OS-DEBIAN-11-CVE-2026-6653","ROOT-OS-DEBIAN-12-CVE-2026-6653","ROOT-OS-DEBIAN-13-CVE-2026-6653","UBUNTU-CVE-2026-6653"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"XML parsing library","requires_auth":"none","summary":"A remote attacker can cause a denial-of-service in libxml2 by sending maliciously crafted XML input that triggers a use-after-free error.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"libxml2","vendor":"xmlsoft"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"},{"id":"CWE-416","name":"Use After Free"}],"description":"Use After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0 allows a remote attacker to cause a denial-of-service via maliciously crafted XML input with improper entity resolution handling.","ecosystems":["Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Rocky Linux:8"],"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":"libxml2: Use after free in xmlParseInternalSubset via improper entity resolution handling","id":"CVE-2026-6653","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"xmlsoft:libxml2","products":["xmlsoft:libxml2"],"type":"use_after_free","year":"2026"},"n_packages":10,"n_references":2,"next":{"headline":"Use-After-Free and Double-Free in IntoIter::drop when element drop panics","id":"CVE-2026-6654"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2026:69655"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2026:69655"},{"ecosystem":"Rocky Linux:8","fixed":["0:2.9.7-21.el8_10.8"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/rocky-linux/libxml2?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:69655"}],"prev":{"headline":"Pagekit CMS StringStorage Template PhpEngine.php evaluate eval injection","id":"CVE-2026-6652"},"products":["libxml2"],"published":"2026-06-22","related":[{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2017-16931","kev_date_added":null,"published":"2017-11-23"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-8872","kev_date_added":null,"published":"2017-05-10"},{"cvss_score":8.1,"headline":"Use after free in libxml2","id":"CVE-2022-49043","kev_date_added":null,"published":"2025-01-26"},{"cvss_score":8,"headline":"Memory corruption in libxml2","id":"CVE-2026-86140","kev_date_added":null,"published":"2026-09-05"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2024-34459","kev_date_added":null,"published":"2024-05-13"},{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2024-25062","kev_date_added":null,"published":"2024-02-04"},{"cvss_score":7.5,"headline":"Nokogiri gem, via libxml, is affected by DoS vulnerabilities","id":"CVE-2017-16932","kev_date_added":null,"published":"2017-11-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-22","vendors":["GNOME"]},"summary":"A remote attacker can cause a denial-of-service in libxml2 by sending maliciously crafted XML input that triggers a use-after-free error.","url":"https://insights.sbomify.com/CVE-2026-6653/"}