cve.bz

CVE-2025-54764 arm mbed tls: Observable Timing Discrepancy

6.2 mediumExploit referenceEPSS 0.2%

Medium (6.2) in arm mbed tls. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
Mbed TLS before 3.6.5 allows a local timing attack against certain RSA operations, and direct calls to mbedtls_mpi_mod_inv or mbedtls_mpi_gcd.

Severity

CVSS 3.1

6.2 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-10-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-208 Observable Timing Discrepancy
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-54764 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54764?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54764?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54764 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
arm:mbed_tlsbefore 3.6.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12mbedtlsno fix listedDEBIAN-CVE-2025-54764
Debian13mbedtls3.6.5-0.1~deb13u1DEBIAN-CVE-2025-54764
Debian14mbedtls3.6.5-0.1DEBIAN-CVE-2025-54764
Ubuntu16.04:LTS, 22.04:LTS, 24.04:LTS and 3 morembedtlsno fix listedUBUNTU-CVE-2025-54764
openSUSELeap 16.0mbedtls3.6.6-bp160.1.1openSUSE-SU-2026:21144-1
openSUSETumbleweedmbedtls3.6.5-1.1openSUSE-SU-2025:15747-1
Alpinev3.20, v3.21, v3.22 and 1 morembedtls3.6.5-r0ALPINE-CVE-2025-54764
Alpinev3.24mbedtls, mbedtls33.6.5-r0ALPINE-CVE-2025-54764

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A Moderate severity flaw was found in Mbed TLS, which is packaged in Red Hat community offerings (Fedora and EPEL). The Mbed TLS modular inversion routine (mbedtls_mpi_mod_inv) and GCD routine (mbedtls_mpi_gcd) are vulnerable to local timing side-channel attacks. Because these routines are used in RSA operations, a local attacker able to trace the execution timing or flow of a victim process (for example through a CPU microarchitectural side channel such as SSBleed, or TrustZone-M single-stepping as in M-Step) can fully recover the RSA private key when a vulnerable RSA function is used, such as RSA key generation or the import of incomplete or non-standard-format RSA private keys via mbedtls_rsa_complete(). Direct application calls to mbedtls_mpi_mod_inv() or mbedtls_mpi_gcd() on secret data can additionally disclose both function inputs. Elliptic curve cryptography (ECDSA, ECDH, EC-JPAKE) and finite-field Diffie-Hellman in Mbed TLS are not affected. Red Hat rates this flaw Moderate with a CVSS 3.1 score of 4.7 (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N), lower than the CISA score of 6.2, reflecting Red Hat's assessment that successful exploitation requires high attack complexity and local privileges on the same system as the victim. The mbedtls packages and community components that bundle it in Fedora and EPEL are affected, and a fix is being pursued by the community maintainers through the standard Fedora and EPEL update processes.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-54764.

Attack patterns (CAPEC)

  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-541 Application Fingerprinting Severity: Low
  • CAPEC-580 System Footprinting Likelihood: Low · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON