{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-5172 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-5172 is a high-severity memory corruption vulnerability in dnsmasq, published on 11 May 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-5172 and fix it if it is affected.\n\nWhat it is: CVE-2026-5172 is a high-severity memory corruption vulnerability in dnsmasq, published on 11 May 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-5172 in the wild and no public exploit code.\n\nAffected product: dnsmasq. 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-5172/ (Markdown: https://insights.sbomify.com/CVE-2026-5172/index.md)","id":"CVE-2026-5172","markdown":"https://insights.sbomify.com/CVE-2026-5172/index.md","name":"CVE-2026-5172","record":{"aliases":["ALPINE-CVE-2026-5172","AZL-86766","BELL-CVE-2026-5172","CLEANSTART-2026-OG08505","DEBIAN-CVE-2026-5172","GHSA-57vp-ffx7-7gm6","UBUNTU-CVE-2026-5172"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"DNS and DHCP server","requires_auth":"none","summary":"An attacker can crash the dnsmasq server by sending a malformed DNS response that triggers a heap out-of-bounds read.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"A buffer overflow in dnsmasq’s extract_addresses() function allows an attacker to trigger a heap out-of-bounds read and crash by exploiting a malformed DNS response, enabling extract_name() to advance the pointer past the record’s end.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-05-27","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-27T05:49:49Z","kind":"github_poc","ref":"https://github.com/lottiedeyan/CVE20265172poc","stars":0,"title":"CVE-2026-5172: buffer overflow in extract_addresses() on crafted resource record PoC"}],"tier":"poc_unverified"},"has_fix":true,"headline":"CVE-2026-5172","id":"CVE-2026-5172","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"Exposed Dangerous Method or Function in GitLab","id":"CVE-2026-5173"},"packages":[],"prev":{"headline":"Missing authorization in Server","id":"CVE-2026-5171"},"products":["dnsmasq"],"published":"2026-05-11","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["dnsmasq"]},"summary":"An attacker can crash the dnsmasq server by sending a malformed DNS response that triggers a heap out-of-bounds read.","url":"https://insights.sbomify.com/CVE-2026-5172/"}