Incorrect Behavior Order Affecting mbedtls package, versions <3.6.4-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (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 IDSNYK-ALPINE321-MBEDTLS-10876294
  • published22 Jul 2025
  • disclosed20 Jul 2025

Introduced: 20 Jul 2025

NewCVE-2025-48965  (opens in a new tab)
CWE-696  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 mbedtls to version 3.6.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mbedtls package and not the mbedtls package as distributed by Alpine. See How to fix? for Alpine:3.21 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.