CVE-2025-47917
published high CVSS 3.1 · 8.9mbedtls vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Mbed | — | mbedtls0 to < 3.6.4 · Other versions: unaffected | Affected | Not stated | mitre |
| Alpine Linux | edge | mbedtls | Fixed | 3.6.4-r0 | Package fix record |
| Debian | bullseye | mbedtls | Advisory build | 2.16.9-0.1+deb11u2 | DLA-4274-1 |
| Ubuntu | bionic | mbedtls | Advisory build | 2.8.0-1ubuntu0.1~esm1 | USN-8123-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeverestaarch64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| Alpine Linux | v3.20 | mbedtls | Fixed | 3.6.4-r0 | Package fix record |
| Alpine Linux | v3.21 | mbedtls | Fixed | 3.6.4-r0 | Package fix record |
| Alpine Linux | v3.22 | mbedtls | Fixed | 3.6.4-r0 | Package fix record |
Show 48 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | mbedtls | Fixed | 3.6.4-r0 | Package fix record |
| Alpine Linux | v3.24 | mbedtls | Fixed | 3.6.4-r0 | Package fix record |
| Debian | bullseye | mbedtls | Advisory build | 2.16.9-0.1+deb11u3 | DLA-4274-2 |
| Ubuntu | focal | mbedtls | Advisory build | 2.16.4-1ubuntu2+esm1 | USN-8123-1 |
| Ubuntu | jammy | mbedtls | Advisory build | 2.28.0-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | noble | mbedtls | Advisory build | 2.28.8-1ubuntu0.1~esm1 | USN-8123-1 |
| Alpine Linux | edge | mbedtls3 | Fixed | 3.6.4-r0 | Package fix record |
| Alpine Linux | v3.24 | mbedtls3 | Fixed | 3.6.4-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeverestppc64le | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeverests390x | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeverestx86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeverest-x86-64-v3x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedcrypto16aarch64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedcrypto16ppc64le | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedcrypto16s390x | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedcrypto16x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedcrypto16-x86-64-v3x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedtls21aarch64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedtls21ppc64le | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedtls21s390x | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedtls21x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedtls21-x86-64-v3x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedx509-7aarch64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedx509-7ppc64le | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedx509-7s390x | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedx509-7x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libmbedx509-7-x86-64-v3x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libp256maarch64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libp256mppc64le | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libp256ms390x | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libp256mx86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libp256m-x86-64-v3x86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | mbedtls-develaarch64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | mbedtls-develppc64le | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | mbedtls-devels390x | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | mbedtls-develx86_64 | Advisory build | 3.6.6-bp160.1.1 | OPENSUSE-SU-2026:21144-1 |
| Ubuntu | bionic | libmbedcrypto1 | Advisory build | 2.8.0-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | bionic | libmbedtls10 | Advisory build | 2.8.0-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | bionic | libmbedx509-0 | Advisory build | 2.8.0-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | focal | libmbedcrypto3 | Advisory build | 2.16.4-1ubuntu2+esm1 | USN-8123-1 |
| Ubuntu | focal | libmbedtls12 | Advisory build | 2.16.4-1ubuntu2+esm1 | USN-8123-1 |
| Ubuntu | focal | libmbedx509-0 | Advisory build | 2.16.4-1ubuntu2+esm1 | USN-8123-1 |
| Ubuntu | jammy | libmbedcrypto7 | Advisory build | 2.28.0-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | jammy | libmbedtls14 | Advisory build | 2.28.0-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | jammy | libmbedx509-1 | Advisory build | 2.28.0-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | noble | libmbedcrypto7t64 | Advisory build | 2.28.8-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | noble | libmbedtls14t64 | Advisory build | 2.28.8-1ubuntu0.1~esm1 | USN-8123-1 |
| Ubuntu | noble | libmbedx509-1t64 | Advisory build | 2.28.8-1ubuntu0.1~esm1 | USN-8123-1 |
Description
Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are developed in accordance with the documentation. The function mbedtls_x509_string_to_names() takes a head argument that is documented as an output argument. The documentation does not suggest that the function will free that pointer; however, the function does call mbedtls_asn1_free_named_data_list() on that argument, which performs a deep free(). As a result, application code that uses this function (relying only on documented behavior) is likely to still hold pointers to the memory blocks that were freed, resulting in a high risk of use-after-free or double-free. In particular, the two sample programs x509/cert_write and x509/cert_req are affected (use-after-free if the san string contains more than one DN).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Mbed | mbedtls | 0 to < 3.6.4 (affected · custom)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4- https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-7.md
- https://lists.debian.org/debian-lts-announce/2025/08/msg00013.html
- https://lists.debian.org/debian-lts-announce/2025/08/msg00025.html
- https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 22800bb6c15ab7319b097d7e0bf8dd6084fadb5eafa4dcb95fef2a05a6ba521a
- Ingested
- 23 Sep 2026, 08:50:18 UTC
- Source record
- Official CVE record