Vulnerabilities

CVE-2025-65495

High 7.5 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2025-11-24
Last modified
2026-11-05
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.2 % higher than 15 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Libcoap Libcoap 4.3.5 Affected

Weakness type

  • CWE-195: Signed to Unsigned Conversion Error

    The product uses a signed primitive and performs a cast to an unsigned primitive, which can produce an unexpected value if the value of the signed primitive can not be represented using an unsigned primitive.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities