NULL Pointer Dereference Affecting libcoap package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBCOAP-14105095
  • published25 Nov 2025
  • disclosed24 Nov 2025
  • creditQingpeng Du

Introduced: 24 Nov 2025

NewCVE-2025-65501  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via the coap_dtls_info_callback() function when a DTLS handshake occurs and SSL_get_app_data() returns NULL. An attacker can cause the application to crash by initiating a specially crafted DTLS handshake.

CVSS Base Scores

version 4.0
version 3.1