CVE-2025-65495: High severity OISM libcoap vulnerability

Published Nov 24, 2025
·
Updated

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

Affected Software

6 affected componentsFixes available
OISM libcoap
libcoap libcoap=4.3.5
debian/libcoap3*
debian/libcoap3<4.3.4-1.1+deb13u2
4.3.4-1.1+deb13u2
debian/libcoap3<4.3.5-2
4.3.5-2
debian/libcoap3<=4.3.1-1
4.3.4-1.1+deb13u34.3.5-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libcoap3 to a version that resolves this vulnerability.

    Fixed in 4.3.4-1.1+deb13u2
  2. Upgrade

    Upgrade debian/libcoap3 to a version that resolves this vulnerability.

    Fixed in 4.3.5-2
  3. Upgrade

    Upgrade debian/libcoap3 to a version that resolves this vulnerability.

    Fixed in 4.3.4-1.1+deb13u3Fixed in 4.3.5-4

Event History

Nov 24, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-65495?

CVE-2025-65495 is rated as a high severity vulnerability due to the potential for denial of service.

2

How do I fix CVE-2025-65495?

To fix CVE-2025-65495, update to the latest version of OISM libcoap where the vulnerability has been addressed.

3

What impact does CVE-2025-65495 have on OISM libcoap users?

CVE-2025-65495 allows remote attackers to cause a denial of service through a crafted TLS certificate.

4

Which versions of OISM libcoap are affected by CVE-2025-65495?

OISM libcoap version 4.3.5 is known to be vulnerable to CVE-2025-65495.

5

Can CVE-2025-65495 be exploited without authentication?

Yes, CVE-2025-65495 can be exploited by remote attackers without requiring authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203