CVE-2025-65495

HIGH CVSS 3.1: 7.5 EPSS 0.26%
Updated Dec 01, 2025
Libcoap
Parameter Value
CVSS 7.5 (HIGH)
Type CWE-195
Vendor Libcoap
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libcoap Libcoap
cpe:2.3:a:libcoap:libcoap:4.3.5:-:*:*:*:*:*:*
— —