Vulnerabilities · 2024 · Libcoap
CVE-2024-31031
Libcoap vulnerability
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.
Affected products
Libcoap, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libcoap runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T · Third Party Advisory
- github.com/obgm/libcoap/issues/1351 · Exploit
- lists.fedoraproject.org/archives/list/[email protected]/message/LPE
- lists.fedoraproject.org/archives/list/[email protected]/message/TUL
- nvd.nist.gov/vuln/detail/CVE-2024-31031
- cve.org/CVERecord?id=CVE-2024-31031
More vulnerabilities in Libcoap products
CVE-2025-65501CVE-2025-65500CVE-2025-65499CVE-2025-65498CVE-2025-65497CVE-2025-65496CVE-2025-65495CVE-2025-65494All 15
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.