CVE-2025-65495

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:libcoap:libcoap:4.3.5:-:*:*:*:*:*:*

History

05 Nov 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Error de signo de entero en tls_verify_call_back() en src/coap_openssl.c en OISM libcoap 4.3.5 permite a atacantes remotos causar una denegación de servicio mediante un certificado TLS manipulado que provoca que i2d_X509() devuelva -1 y sea mal utilizado como parámetro de tamaño de malloc().

01 Dec 2025, 17:15

Type Values Removed Values Added
References () https://github.com/obgm/libcoap/issues/1744 - () https://github.com/obgm/libcoap/issues/1744 - Issue Tracking
References () https://github.com/obgm/libcoap/pull/1750 - () https://github.com/obgm/libcoap/pull/1750 - Issue Tracking, Patch
CPE cpe:2.3:a:libcoap:libcoap:4.3.5:-:*:*:*:*:*:*
First Time Libcoap
Libcoap libcoap

24 Nov 2025, 15:15

Type Values Removed Values Added
CWE CWE-195
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

24 Nov 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-24 14:15

Updated : 2026-11-05 13:10


NVD link : CVE-2025-65495

Mitre link : CVE-2025-65495

CVE.ORG link : CVE-2025-65495


JSON object : View

Products Affected

libcoap

  • libcoap
CWE
CWE-195

Signed to Unsigned Conversion Error