NULL Pointer Dereference Affecting mbedtls package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.07% (23rd 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-UBUNTU2004-MBEDTLS-10877578
  • published9 Oct 2025
  • disclosed20 Jul 2025

Introduced: 20 Jul 2025

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

How to fix?

There is no fixed version for Ubuntu:20.04 mbedtls.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mbedtls package and not the mbedtls package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

Mbed TLS before 3.6.4 has a NULL pointer dereference because mbedtls_asn1_store_named_data can trigger conflicting data with val.p of NULL but val.len greater than zero.

CVSS Base Scores

version 3.1