# JLSEC-2025-215: In Mbed TLS before 2.28.0 and 3.x before 3.1.0, `psa_cipher_generate_iv` and `psa_cipher_encrypt`...

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `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
- Published: 2025-11-21T15:59:04.054Z
- Modified: 2026-07-23T22:30:12.280Z
- Related: CVE-2021-45450

## 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 Julia Security Advisories.)

## Affected

- MbedTLS_jll (Julia): from 2.24.0+0 before 2.28.0+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Julia Security Advisories: 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`

## References

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

## Sources

- Julia Security Advisories: [JLSEC-2025-215](https://osv.dev/vulnerability/JLSEC-2025-215), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/JLSEC-2025-215 · Whole record: https://cve.day/JLSEC-2025-215.json · Rebuilt by cve.day 2026-11-25T22:56:25.772Z
