{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-62408 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-62408 is a medium-severity use after free vulnerability in c-ares, published on 8 Dec 2025. 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-62408 and fix it if it is affected.\n\nWhat it is: CVE-2025-62408 is a medium-severity use after free vulnerability in c-ares, published on 8 Dec 2025. 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-62408 in the wild and no public exploit code.\n\nAffected product: c-ares. 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-62408/ (Markdown: https://insights.sbomify.com/CVE-2025-62408/index.md)","id":"CVE-2025-62408","markdown":"https://insights.sbomify.com/CVE-2025-62408/index.md","name":"CVE-2025-62408","record":{"aliases":["ALPINE-CVE-2025-62408","AZL-71854","BELL-CVE-2025-62408","CLEANSTART-2026-CV14251","CLEANSTART-2026-ES22534","CLEANSTART-2026-PA08488","CLEANSTART-2026-UY43050","CLEANSTART-2026-XI18569","CLEANSTART-2026-XP51348","DEBIAN-CVE-2025-62408","DSA-6084-1","GHSA-jq53-42q6-pqr5","MINI-vx6j-9433-mfjf","RHSA-2026:7414","SUSE-SU-2026:21574-1","SUSE-SU-2026:21584-1","UBUNTU-CVE-2025-62408","USN-7925-1","openSUSE-SU-2026:10007-1","openSUSE-SU-2026:10029-1","openSUSE-SU-2026:20698-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"c-ares resolver library","requires_auth":"none","summary":"A use-after-free flaw in c-ares allows attackers to cause a denial of service by triggering specific error conditions during query termination.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"c-ares","vendor":"c-ares"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"c-ares is an asynchronous resolver library. Versions 1.32.3 through 1.34.5  terminate a query after maximum attempts when using read_answer() and process_answer(), which can cause a Denial of Service. This issue is fixed in version 1.34.6.","ecosystems":["Red Hat:hummingbird:1","openSUSE:Tumbleweed"],"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":"c-ares has a Use After Free vulnerability when connection is cleaned up after error","id":"CVE-2025-62408","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"Envoy allows large requests and responses to cause TCP connection pool crash","id":"CVE-2025-62409"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.34.6-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"c-ares","purl":"pkg:rpm/redhat/c-ares","source":"RHSA-2026:7414"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.34.6-3.1.hum1"],"introduced":["0"],"last_affected":[],"package":"c-ares-devel","purl":"pkg:rpm/redhat/c-ares-devel","source":"RHSA-2026:7414"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.34.6-1.1"],"introduced":["0"],"last_affected":[],"package":"c-ares","purl":"pkg:rpm/opensuse/c-ares\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10007-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.28.2-1.1"],"introduced":["0"],"last_affected":[],"package":"istioctl","purl":"pkg:rpm/opensuse/istioctl\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10029-1"}],"prev":{"headline":"Frappe has an Open Redirect on Login Page","id":"CVE-2025-62407"},"products":["c-ares"],"published":"2025-12-08","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-5180","kev_date_added":null,"published":"2016-10-03"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2017-1000381","kev_date_added":null,"published":"2017-07-07"},{"cvss_score":5.9,"headline":"Memory corruption in n/a","id":"CVE-2020-22217","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":4.4,"headline":"c-ares out of bounds read in ares__read_line()","id":"CVE-2024-25629","kev_date_added":null,"published":"2024-02-23"},{"cvss_score":3.3,"headline":"Use after free in c-ares","id":"CVE-2020-14354","kev_date_added":null,"published":"2021-05-13"}],"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"2025-12-09","vendors":["c-ares"]},"summary":"A use-after-free flaw in c-ares allows attackers to cause a denial of service by triggering specific error conditions during query termination.","url":"https://insights.sbomify.com/CVE-2025-62408/"}