CVE-2024-40494 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via a crafted packet exploiting a stack buffer overflow in the FreeCoAP library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-40494?

CVE-2024-40494 is a critical memory corruption vulnerability in n/a, published on 22 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-120

Which versions are affected by CVE-2024-40494?

It affects 1 product.

Products include Keith-Cullen Freecoap.

How do I fix CVE-2024-40494?

No fix has been published for CVE-2024-40494 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-40494 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-40494 exists.

Sources

Also known as GHSA-h9p7-c5rq-hwjj.

Is CVE-2024-40494 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free