# CVE-2025-53022: 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 firmwa…

- Severity: High 8.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-07-30T00:00:00.000Z
- Modified: 2026-06-17T09:37:29.523Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://www.trustedfirmware.org/projects/tf-m/>
- <https://git.trustedfirmware.org/plugins/gitiles/TF-M/trusted-firmware-m.git/+/refs/heads/main/secure_fw/partitions/firmware_update/bootloader/mcuboot/tfm_mcuboot_fwu.c#257>
- <https://trustedfirmware-m.readthedocs.io/en/latest/security/security_advisories/fwu_tlv_payload_out_of_bounds_vulnerability.html>

## Sources

- CVE List: [CVE-2025-53022](https://www.cve.org/CVERecord?id=CVE-2025-53022), CVE Terms of Use, modified 2025-07-30
- NVD: [CVE-2025-53022](https://nvd.nist.gov/vuln/detail/CVE-2025-53022), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53022 · Whole record: https://cve.day/CVE-2025-53022.json · Rebuilt by cve.day 2026-11-25T22:59:01.909Z
