CVE-2026-33662: CWE-190: Integer Overflow or Wraparound in OP-TEE optee_os
CVE-2026-33662 is an integer overflow vulnerability in the OP-TEE optee_os versions 3. 8. 0 through 4. 10. It occurs in the emsa_pkcs1_v1_5_encode() function when calculating padding size for RSA keys with small modulus values, leading to an underflow. This causes a memset() call to overwrite memory beyond intended bounds, resulting in a crash of OP-TEE. The issue affects only platforms that register RSA acceleration. The vulnerability has a CVSS score of 7. 5 and is classified as high severity due to its potential to cause denial of service by crashing the trusted execution environment. No official patch or remediation guidance is currently provided by the vendor, and no known exploits are reported in the wild.
AI Analysis
Technical Summary
The vulnerability exists in OP-TEE's optee_os component, specifically in the emsa_pkcs1_v1_5_encode() function used for RSA signature padding. The calculation of the padding size (PS size) subtracts the digest size and other encoding fields from the RSA modulus size. If the modulus is small enough, this subtraction results in an integer underflow (wraparound), causing the padding size to become a very large number. Consequently, the memset() function writes 0xFF bytes beyond the intended buffer, leading to memory corruption and a crash of the OP-TEE environment. This flaw affects versions from 3.8.0 up to 4.10 and only impacts platforms that enable RSA acceleration. The vulnerability is tracked as CWE-190 (Integer Overflow or Wraparound) and has a CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
Potential Impact
The integer overflow causes memory corruption that leads to a denial of service by crashing the OP-TEE trusted execution environment. There is no indication of confidentiality or integrity impact, only availability is affected. This could disrupt secure operations relying on OP-TEE on affected platforms, particularly those using RSA acceleration.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider avoiding configurations with small RSA modulus sizes that could trigger the overflow or disabling RSA acceleration if feasible. Monitor vendor channels for updates and apply patches once released.
CVE-2026-33662: CWE-190: Integer Overflow or Wraparound in OP-TEE optee_os
Description
CVE-2026-33662 is an integer overflow vulnerability in the OP-TEE optee_os versions 3. 8. 0 through 4. 10. It occurs in the emsa_pkcs1_v1_5_encode() function when calculating padding size for RSA keys with small modulus values, leading to an underflow. This causes a memset() call to overwrite memory beyond intended bounds, resulting in a crash of OP-TEE. The issue affects only platforms that register RSA acceleration. The vulnerability has a CVSS score of 7. 5 and is classified as high severity due to its potential to cause denial of service by crashing the trusted execution environment. No official patch or remediation guidance is currently provided by the vendor, and no known exploits are reported in the wild.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in OP-TEE's optee_os component, specifically in the emsa_pkcs1_v1_5_encode() function used for RSA signature padding. The calculation of the padding size (PS size) subtracts the digest size and other encoding fields from the RSA modulus size. If the modulus is small enough, this subtraction results in an integer underflow (wraparound), causing the padding size to become a very large number. Consequently, the memset() function writes 0xFF bytes beyond the intended buffer, leading to memory corruption and a crash of the OP-TEE environment. This flaw affects versions from 3.8.0 up to 4.10 and only impacts platforms that enable RSA acceleration. The vulnerability is tracked as CWE-190 (Integer Overflow or Wraparound) and has a CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
Potential Impact
The integer overflow causes memory corruption that leads to a denial of service by crashing the OP-TEE trusted execution environment. There is no indication of confidentiality or integrity impact, only availability is affected. This could disrupt secure operations relying on OP-TEE on affected platforms, particularly those using RSA acceleration.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider avoiding configurations with small RSA modulus sizes that could trigger the overflow or disabling RSA acceleration if feasible. Monitor vendor channels for updates and apply patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-23T15:23:42.219Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ebb81d87115cfb68646f6d
Added to database: 4/24/2026, 6:36:13 PM
Last enriched: 5/1/2026, 8:41:56 PM
Last updated: 6/9/2026, 3:24:21 PM
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.