CVE-2024-31031 Integer overflow in n/a

High 7.5 Published Updated

Attackers can cause undefined behavior and potential denial of service in libcoap via crafted messages triggering an unsigned integer overflow.

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

What is CVE-2024-31031?

CVE-2024-31031 is a high-severity vulnerability in Fedoraproject Fedora, published on 17 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue in `coap_pdu.c` in libcoap 4.3.4 allows attackers to cause undefined behavior via a sequence of messages leading to unsigned integer overflow.

Weakness: CWE-190

Which versions are affected by CVE-2024-31031?

It affects 2 products.

Products include Fedoraproject Fedora, Libcoap Libcoap.

How do I fix CVE-2024-31031?

Upgrade to a fixed version.

Is CVE-2024-31031 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-31031, GHSA-8hrj-6457-w65j, UBUNTU-CVE-2024-31031.

Is CVE-2024-31031 in your software?

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

Check your SBOMs for free