{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-34468 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-34468 is a high-severity memory corruption vulnerability in libcoap, published on 31 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-34468 and fix it if it is affected.\n\nWhat it is: CVE-2025-34468 is a high-severity memory corruption vulnerability in libcoap, published on 31 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-34468 in the wild and no public exploit code.\n\nAffected product: libcoap. 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-34468/ (Markdown: https://insights.sbomify.com/CVE-2025-34468/index.md)","id":"CVE-2025-34468","markdown":"https://insights.sbomify.com/CVE-2025-34468/index.md","name":"CVE-2025-34468","record":{"aliases":["DEBIAN-CVE-2025-34468","GHSA-rj9f-6c28-qf6x","UBUNTU-CVE-2025-34468"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"CoAP protocol library","requires_auth":"none","summary":"A stack-based buffer overflow in libcoap allows remote attackers to cause denial of service or potentially execute code when proxy logic is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"libcoap","vendor":"libcoap"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"libcoap versions up to and including 4.3.5, prior to commit 30db3ea, contain a stack-based buffer overflow in address resolution when attacker-controlled hostname data is copied into a fixed 256-byte stack buffer without proper bounds checking. A remote attacker can trigger a crash and potentially achieve remote code execution depending on compiler options and runtime memory protections. Exploitation requires the proxy logic to be enabled (i.e., the proxy request handling code path in an application using libcoap).","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":"libcoap Stack-Based Buffer Overflow in Address Resolution DoS or Potential RCE","id":"CVE-2025-34468","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"Cowrie \u003c 2.9.0 Unrestricted wget/curl Emulation Enables SSRF-Based DDoS Amplification","id":"CVE-2025-34469"},"packages":[],"prev":{"headline":"ZwiiCMS \u003c 13.7.00 Lock Persistence Authenticated DoS Against Administrative Pages","id":"CVE-2025-34467"},"products":["libcoap"],"published":"2025-12-31","related":[{"cvss_score":8.8,"headline":"libcoap Out-of-Bounds Read in OSCORE CBOR Unwrap Handling","id":"CVE-2026-29013","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2025-65493","kev_date_added":null,"published":"2025-11-24"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2025-65494","kev_date_added":null,"published":"2025-11-24"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2025-65495","kev_date_added":null,"published":"2025-11-24"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2023-30362","kev_date_added":null,"published":"2023-06-23"},{"cvss_score":6.5,"headline":"Information disclosure in n/a","id":"CVE-2025-59391","kev_date_added":null,"published":"2025-12-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-07-14","vendors":["libcoap"]},"summary":"A stack-based buffer overflow in libcoap allows remote attackers to cause denial of service or potentially execute code when proxy logic is enabled.","url":"https://insights.sbomify.com/CVE-2025-34468/"}