{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0962 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-0962 is a medium-severity memory corruption vulnerability in obgm libcoap, published on 27 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-0962 and fix it if it is affected.\n\nWhat it is: CVE-2024-0962 is a medium-severity memory corruption vulnerability in obgm libcoap, published on 27 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0962 exists.\n\nAffected product: obgm 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-2024-0962/ (Markdown: https://insights.sbomify.com/CVE-2024-0962/index.md)","id":"CVE-2024-0962","markdown":"https://insights.sbomify.com/CVE-2024-0962/index.md","name":"CVE-2024-0962","record":{"aliases":["DEBIAN-CVE-2024-0962","GHSA-7qg3-c5c5-86rv","UBUNTU-CVE-2024-0962"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"CoAP protocol library","requires_auth":"none","summary":"A stack-based buffer overflow in libcoap allows remote attackers to execute arbitrary code or cause denial of service via crafted configuration files.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"libcoap","vendor":"libcoap"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"A vulnerability was found in obgm libcoap 4.3.4. It has been rated as critical. Affected by this issue is the function get_split_entry of the file src/coap_oscore.c of the component Configuration File Handler. The manipulation leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. VDB-252206 is the identifier assigned to this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"obgm libcoap Configuration File coap_oscore.c get_split_entry stack-based overflow","id":"CVE-2024-0962","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":5,"next":{"headline":"Calculated Fields Form \u003c= 1.2.52 - Authenticated (Contributor+) Stored Cross-Site Scripting","id":"CVE-2024-0963"},"packages":[],"prev":{"headline":"SiteOrigin Widgets Bundle \u003c= 1.58.1 - Authenticated (Contributor+) Stored Cross-Site Scripting","id":"CVE-2024-0961"},"products":["libcoap"],"published":"2024-01-27","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":8.2,"headline":"libcoap Stack-Based Buffer Overflow in Address Resolution DoS or Potential RCE","id":"CVE-2025-34468","kev_date_added":null,"published":"2025-12-31"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["obgm"]},"summary":"A stack-based buffer overflow in libcoap allows remote attackers to execute arbitrary code or cause denial of service via crafted configuration files.","url":"https://insights.sbomify.com/CVE-2024-0962/"}