# CVE-2021-45450: In Mbed TLS before 2.28.0 and 3.x before 3.1.0, psaciphergenerateiv and psacipherencrypt allow policy bypass or oracle-based decryption whe…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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): 1.25%, higher than 70% of CVEs (2026-12-01)
- Published: 2021-12-21T00:00:00.000Z
- Modified: 2026-06-17T04:13:23.583Z
- Weaknesses: CWE-327
- Assigned by: mitre

## Description

In Mbed TLS before 2.28.0 and 3.x before 3.1.0, psa_cipher_generate_iv and psa_cipher_encrypt allow policy bypass or oracle-based decryption when the output buffer is at memory locations accessible to an untrusted application.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- trustedfirmware mbed_tls: from 2.22.0 before 2.28.0; 3.0.0
- fedoraproject fedora: 36; 37

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0> (release-notes, third-party-advisory)
- <https://github.com/ARMmbed/mbedtls/releases/tag/v3.1.0> (release-notes, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TALJHOYAYSUJTLN6BYGLO4YJGNZUY74W/> (mailing-list, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IL66WKJGXY5AXMTFE7QDMGL3RIBD6PX5/> (mailing-list, vendor-advisory)
- <https://security.gentoo.org/glsa/202301-08> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-45450](https://www.cve.org/CVERecord?id=CVE-2021-45450), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45450](https://nvd.nist.gov/vuln/detail/CVE-2021-45450), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45450 · Whole record: https://cve.day/CVE-2021-45450.json · Rebuilt by cve.day 2026-11-25T22:58:06.089Z
