NULL Pointer Dereference Affecting obgm/libcoap package, versions [,4.3.5-a)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (16th 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-UNMANAGED-OBGMLIBCOAP-14105105
  • 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 obgm/libcoap to version 4.3.5-a 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