NULL Pointer Dereference Affecting libcoap package, versions [,cci.20200424)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (15th percentile)

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-14105106
  • published25 Nov 2025
  • disclosed24 Nov 2025
  • creditQingpeng Du

Introduced: 24 Nov 2025

CVE-2025-65494  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade libcoap to version cci.20200424 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via the get_san_or_cn_from_cert() function. An attacker can cause a crash of the application by supplying a specially crafted X.509 certificate that triggers a NULL pointer dereference.

CVSS Base Scores

version 4.0
version 3.1