{"id":"CVE-2026-33662","published":"2026-04-24T18:13:28Z","modified":"2026-04-24T19:00:51Z","title":"OP-TEE: RSASSA EMSA- PKCS1-v1_5 underflow in emsa_pkcs1_v1_5_encode()","vendor":"OP-TEE","product":"optee_os","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00593,"percentile":0.42386,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/OP-TEE/optee_os/security/advisories/GHSA-4cf8-v5g3-73gr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.48},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"op-tee","affectedVersions":[{"vendor":"OP-TEE","product":"optee_os","versions":[">= 3.8.0, <= 4.10"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-24T19:00:09.301248Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25592","exploited":false,"provenance":"source"}}