CVE-2024-31031
published high CVSS 3.1 · 7.5libcoap: unsigned integer overflow vulnerability in coap_pdu.c
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| libcoap | libcoap | 4.3.4 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-190 CWE-190 Integer Overflow or Wraparound
References
5- https://github.com/obgm/libcoap/issues/1351
- FEDORA-2024-450b75e4a0 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LPENEJBV3KSASIYKNZAKXDAH7Q66KPYG/
- FEDORA-2024-75863445ff https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUL7QDYFGEIJVO2ZSG4O5HEAWR6PFC52/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LPENEJBV3KSASIYKNZAKXDAH7Q66KPYG/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TUL7QDYFGEIJVO2ZSG4O5HEAWR6PFC52/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 74dfc38d3135943df05d0d4e7b0bfc155f4865313e1efc303d8776e808011bb6
- Ingested
- 23 Sep 2026, 08:22:25 UTC
- Source record
- Official CVE record