CVE-2024-40494
CVE-2024-40494 is a critical-severity vulnerability in Keith-cullen Freecoap with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-120.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (63rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-38481
- Weakness: CWE-120
- Affected product: Keith-cullen Freecoap
- Published:
- Last modified:
Description
Buffer Overflow in coap_msg.c in FreeCoAP allows remote attackers to execute arbitrary code or cause a denial of service (stack buffer overflow) via a crafted packet.
Frequently asked questions
- What is CVE-2024-40494?
- Buffer Overflow in coap_msg.c in FreeCoAP allows remote attackers to execute arbitrary code or cause a denial of service (stack buffer overflow) via a crafted packet.
- How severe is CVE-2024-40494?
- CVE-2024-40494 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-40494 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (63rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-40494?
- CVE-2024-40494 affects Keith-cullen Freecoap. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-40494?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-40494 have an EU (EUVD) identifier?
- Yes. CVE-2024-40494 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-38481.
- When was CVE-2024-40494 published?
- CVE-2024-40494 was published on 2024-10-22 and last updated on 2026-06-17.
References
- https://gist.github.com/dqp10515/e9d7d663cb89187bfe7b39bb3aeb0113
- https://github.com/dqp10515/security/tree/main/FreeCoAP_bug
Affected products (1)
- cpe:2.3:a:keith-cullen:freecoap:0.7:*:*:*:*:*:*:*
More vulnerabilities in Keith-cullen Freecoap
- CVE-2024-40493 — Critical (CVSS 9.8): Null Pointer Dereference in `coap_client_exchange_blockwise2` function in Keith Cullen FreeCoAP 1.0 allows remote…
- CVE-2024-31030 — Critical (CVSS 9.1): An issue in coap_msg.c in Keith Cullen's FreeCoAP v.0.7 allows remote attackers to cause a Denial of Service or…
- CVE-2024-31029 — High (CVSS 8.2): An issue in the server_handle_regular function of the test_coap_server.c file within the FreeCoAP project allows remote…
All CVEs affecting Keith-cullen Freecoap →
Other CWE-120 (Classic Buffer Overflow) vulnerabilities
- CVE-2025-48611 — Critical (CVSS 10.0): In DeviceId of DeviceId.java, there is a possible desync in persistence due to a missing bounds check. This could lead…
- CVE-2026-24823 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in FASTSHIFT…
- CVE-2026-24810 — Critical (CVSS 10.0): Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in rethinkdb (src/cjson modules).…
- CVE-2026-24800 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in tildearrow…
- CVE-2025-9962 — Critical (CVSS 10.0): A buffer overflow vulnerability in Novakon P series allows attackers to gain root permission without prior…
- CVE-2010-10016 — Critical (CVSS 10.0): BS.Player version 2.57 (build 1051) contains a vulnerability in its playlist import functionality. When processing .m3u…
Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →