Vulnerability · Published Oct 9, 2024 · Assigned by mitre

CVE-2024-46304

High 7.5

In plain English

A high-severity buffer overflow in the libcoap3 package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 53.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A NULL pointer dereference in libcoap v4.3.5-rc2 and below allows a remote attacker to cause a denial of service via the coap_handle_request_put_block function in src/coap_block.c.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libcoap3no fix listedDEBIAN-CVE-2024-46304
Debian:13libcoap3no fix listedDEBIAN-CVE-2024-46304
Debian:14libcoap34.3.5-1DEBIAN-CVE-2024-46304
Ubuntu:22.04:LTSlibcoap2no fix listedUBUNTU-CVE-2024-46304
Ubuntu:22.04:LTSlibcoap3no fix listedUBUNTU-CVE-2024-46304
Ubuntu:24.04:LTSlibcoap3no fix listedUBUNTU-CVE-2024-46304
Ubuntu:25.10libcoap3no fix listedUBUNTU-CVE-2024-46304
Ubuntu:26.04:LTSlibcoap3no fix listedUBUNTU-CVE-2024-46304
Ubuntu:26.10libcoap3no fix listedUBUNTU-CVE-2024-46304

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References