CVEfocus › CVE database › CVE-2025-53022

CVE-2025-53022

CVSS 8.6 HighEPSS 0.7% (higher than 50% of CVEs)Published 2025-07-30Updated 2025-07-30Assigner: mitre

TrustedFirmware-M (aka Trusted Firmware for M profile Arm CPUs) before 2.1.3 and 2.2.x before 2.2.1 lacks length validation during a firmware upgrade. While processing a new image, the Firmware Upgrade (FWU) module does not validate the length field of the Type-Length-Value (TLV) structure for dependent components against the maximum allowed size. If the length specified in the TLV exceeds the size of the buffer allocated on the stack, the FWU module will overwrite the buffer (and potentially other stack data) with the TLV's value content. An attacker could exploit this by crafting a malicious TLV entry in the unprotected section of the MCUBoot upgrade image. By setting the length field to exceed the expected structure size, the attacker can manipulate the stack memory of the system during the upgrade process.

CWE-121

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10arm-trusted-firmwareFix pendingUBUNTU-CVE-2025-53022
Ubuntu 26.04arm-trusted-firmwareUnder investigationUBUNTU-CVE-2025-53022
Ubuntu 25.10arm-trusted-firmwareWill not fix
u-boot is built with arm-trusted-firmware
UBUNTU-CVE-2025-53022
Ubuntu 24.04arm-trusted-firmwareUnder investigationUBUNTU-CVE-2025-53022
Ubuntu 22.04arm-trusted-firmwareUnder investigationUBUNTU-CVE-2025-53022
Ubuntu 20.04arm-trusted-firmwareFix pendingUBUNTU-CVE-2025-53022

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.