libcoap CVE Vulnerabilities & Metrics

Focus on libcoap vulnerabilities and metrics.

Last updated: 03 Dec 2025, 23:25 UTC

About libcoap Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with libcoap. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total libcoap CVEs: 13
Earliest CVE date: 19 Jun 2023, 05:15 UTC
Latest CVE date: 24 Nov 2025, 14:15 UTC

Latest CVE reference: CVE-2025-65501

Rolling Stats

30-day Count (Rolling): 9
365-day Count (Rolling): 9

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): 350.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): 350.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical libcoap CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 0.58

Max CVSS: 7.5

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 12
4.0-6.9 0
7.0-8.9 1
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS libcoap CVEs

These are the five CVEs with the highest CVSS scores for libcoap, sorted by severity first and recency.

All CVEs for libcoap

CVE-2025-65501 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

Null pointer dereference in coap_dtls_info_callback() in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a DTLS handshake where SSL_get_app_data() returns NULL.

CVE-2025-65500 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

NULL pointer dereference in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.

CVE-2025-65499 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

Array index error in tls_verify_call_back() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_ex_data_X509_STORE_CTX_idx() to return -1.

CVE-2025-65498 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

NULL pointer dereference in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.

CVE-2025-65497 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

NULL pointer dereference in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.

CVE-2025-65496 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

NULL pointer dereference in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.

CVE-2025-65495 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

Integer signedness error in tls_verify_call_back() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted TLS certificate that causes i2d_X509() to return -1 and be misused as a malloc() size parameter.

CVE-2025-65494 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

NULL pointer dereference in get_san_or_cn_from_cert() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted X.509 certificate that causes sk_GENERAL_NAME_value() to return NULL.

CVE-2025-65493 libcoap vulnerability CVSS: 0 24 Nov 2025, 14:15 UTC

NULL pointer dereference in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS/TLS connection that triggers BIO_get_data() to return NULL.

CVE-2024-31031 libcoap vulnerability CVSS: 0 17 Apr 2024, 19:15 UTC

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.

CVE-2024-0962 libcoap vulnerability CVSS: 7.5 27 Jan 2024, 13:15 UTC

A vulnerability was found in obgm libcoap 4.3.4. It has been rated as critical. Affected by this issue is the function get_split_entry of the file src/coap_oscore.c of the component Configuration File Handler. The manipulation leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. VDB-252206 is the identifier assigned to this vulnerability.

CVE-2023-30362 libcoap vulnerability CVSS: 0 23 Jun 2023, 12:15 UTC

Buffer Overflow vulnerability in coap_send function in libcoap library 4.3.1-103-g52cfd56 fixed in 4.3.1-120-ge242200 allows attackers to obtain sensitive information via malformed pdu.

CVE-2023-35862 libcoap vulnerability CVSS: 0 19 Jun 2023, 05:15 UTC

libcoap 4.3.1 contains a buffer over-read via the function coap_parse_oscore_conf_mem at coap_oscore.c.