Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-65498: n/a

0
Medium
VulnerabilityCVE-2025-65498cvecve-2025-65498
Published: Mon Nov 24 2025 (11/24/2025, 00:00:00 UTC)
Source: CVE Database V5

Description

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.

AI-Powered Analysis

AILast updated: 11/24/2025, 14:28:48 UTC

Technical Analysis

CVE-2025-65498 is a denial of service vulnerability found in version 4.3.5 of the OISM libcoap library, which is widely used for constrained application protocol (CoAP) implementations, especially in IoT and embedded systems. The vulnerability exists in the coap_dtls_generate_cookie() function located in src/coap_openssl.c. During a DTLS handshake, a crafted packet can cause the OpenSSL function SSL_get_SSL_CTX() to return a NULL pointer. This NULL pointer dereference leads to a crash or abnormal termination of the libcoap process, resulting in denial of service. The flaw can be triggered remotely by an attacker without requiring authentication or user interaction, making it a significant risk for exposed services. Although no CVSS score or patch links are currently available, the vulnerability is publicly disclosed and assigned CVE-2025-65498. The absence of known exploits in the wild suggests it is newly discovered, but the underlying issue is straightforward to exploit given the nature of the NULL pointer dereference during handshake processing. The vulnerability affects any system using libcoap 4.3.5 with DTLS enabled over OpenSSL, which is common in IoT devices, constrained networks, and certain industrial control systems. The impact is primarily denial of service, potentially disrupting communications or device availability.

Potential Impact

For European organizations, the primary impact is denial of service on devices or services using libcoap 4.3.5 with DTLS over OpenSSL. This can disrupt IoT device communications, sensor networks, and constrained environment applications, potentially affecting critical infrastructure, industrial automation, and smart city deployments. Service outages could lead to operational downtime, loss of monitoring capabilities, or interruption of automated processes. In sectors like manufacturing, energy, healthcare, and transportation, such disruptions could have cascading effects on safety and efficiency. Since the vulnerability can be exploited remotely without authentication, attackers could target exposed devices or gateways to cause widespread service degradation. The impact on confidentiality and integrity is minimal as the vulnerability does not allow code execution or data leakage, but availability is significantly affected. Organizations relying on libcoap for secure communications should prioritize mitigation to maintain service continuity.

Mitigation Recommendations

1. Monitor for official patches or updates from the libcoap project and apply them promptly once released. 2. If patches are not yet available, consider disabling DTLS support in libcoap where feasible or restricting access to DTLS endpoints via network segmentation and firewall rules. 3. Deploy intrusion detection/prevention systems (IDS/IPS) capable of identifying and blocking malformed DTLS handshake packets that could trigger the vulnerability. 4. Implement rate limiting on DTLS handshake requests to reduce the risk of denial of service from crafted packets. 5. Conduct network traffic analysis to detect unusual handshake failures or crashes in devices using libcoap. 6. For critical infrastructure, consider deploying redundant systems or failover mechanisms to maintain availability during potential attacks. 7. Engage with device vendors to confirm if their products use libcoap 4.3.5 and request firmware updates or mitigations. 8. Maintain up-to-date asset inventories to identify affected devices and prioritize remediation efforts.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2025-11-18T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 692467ebff33e781bff0e372

Added to database: 11/24/2025, 2:12:59 PM

Last enriched: 11/24/2025, 2:28:48 PM

Last updated: 11/28/2025, 9:40:46 AM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats