Skip to content

CVE-2016-6129 The rsa_verify_hash_ex function in rsa_verify_hash.c in LibTomCrypt, as used in OP-TEE before 2.2.0, does not validate that the message length is equal to the ASN.1 encoded data length, which makes it...

HighCVSS 7.5 EPSS 0.77%
Published
Updated
Exploit status
No public exploit known

Description

The rsa_verify_hash_ex function in rsa_verify_hash.c in LibTomCrypt, as used in OP-TEE before 2.2.0, does not validate that the message length is equal to the ASN.1 encoded data length, which makes it easier for remote attackers to forge RSA signatures or public certificates by leveraging a Bleichenbacher signature forgery attack.

Affected products

ProductAffected versionsFixed in
debian/libtomcrypt(Debian:12) < 1.17-8 1.17-8
debian/libtomcrypt(Debian:13) < 1.17-8 1.17-8
debian/libtomcrypt(Debian:14) < 1.17-8 1.17-8
TrustedFirmware op-tee < 2.2.0 2.2.0
libtomcrypt <= 1.17 No fix listed

References