# CVE-2021-45451: In Mbed TLS before 3.1.0, psaaeadgeneratenonce allows policy bypass or oracle-based decryption when the output buffer is at memory location…

- 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): 0.95%, higher than 62% of CVEs (2026-12-02)
- Published: 2021-12-21T00:00:00.000Z
- Modified: 2026-06-17T04:13:23.707Z
- Weaknesses: CWE-327
- Assigned by: mitre

## Description

In Mbed TLS before 3.1.0, psa_aead_generate_nonce allows 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
- arm mbed_tls: before 3.1.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/v3.1.0> (patch, release-notes, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TALJHOYAYSUJTLN6BYGLO4YJGNZUY74W/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IL66WKJGXY5AXMTFE7QDMGL3RIBD6PX5/> (vendor-advisory)

## Sources

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

---

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