# CVE-2026-33662: OP-TEE: RSASSA EMSA- PKCS1-v1\_5 underflow in emsa\_pkcs1\_v1\_5\_encode()

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-24 · Modified: 2026-04-24
- Aliases: UBUNTU-CVE-2026-33662, DEBIAN-CVE-2026-33662
- Record: https://cvemate.com/vulnerability/CVE-2026-33662 · JSON: https://cvemate.com/vulnerability/CVE-2026-33662/json

## Description

```text
OP-TEE is a Trusted Execution Environment (TEE) designed as companion to a non-secure Linux kernel running on Arm; Cortex-A cores using the TrustZone technology. From 3.8.0 to 4.10, in the function emsa_pkcs1_v1_5_encode() in core/drivers/crypto/crypto_api/acipher/rsassa.c, the amount of padding needed, "PS size", is calculated by subtracting the size of the digest and other fields required for the EMA-PKCS1-v1_5 encoding from the size of the modulus of the key. By selecting a small enough modulus, this subtraction can overflow. The padding is added as a string of 0xFF bytes with a call to memset(), and an underflowed integer will cause the memset() call to overwrite until OP-TEE crashes. This only affects platforms registering RSA acceleration.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.418%, percentile 38.107%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian optee-os (Debian): All versions (No fix recorded)
- ubuntu optee-os (Ubuntu): All versions (No fix recorded)
- op-tee optee\_os: ≥ 3.8.0, ≤ 4.10
- trustedfirmware op-tee: ≥ 3.8.0, ≤ 4.10.0

## References

- <https://github.com/OP-TEE/optee_os/security/advisories/GHSA-4cf8-v5g3-73gr>
- <https://ubuntu.com/security/CVE-2026-33662>
- <https://www.cve.org/CVERecord?id=CVE-2026-33662>
- <https://security-tracker.debian.org/tracker/CVE-2026-33662>

---

Data as of 2026-12-05T08:24:42.315Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
