# CVE-2016-6129

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-02-13 · Modified: 2024-08-06
- Aliases: MGASA-2016-0369, UBUNTU-CVE-2016-6129, DEBIAN-CVE-2016-6129, DLA-612-1
- Record: https://cvemate.com/vulnerability/CVE-2016-6129 · JSON: https://cvemate.com/vulnerability/CVE-2016-6129/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.768%, percentile 56.929%, 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 libtomcrypt (Debian): \< 1.17-8 \| \< 1.17-3.2+deb7u1
- ubuntu libtomcrypt (Ubuntu): \< 1.17-5ubuntu0.1 \| \< 1.17-7ubuntu0.1
- libtom libtomcrypt: ≤ 1.17
- mageia libtomcrypt (Mageia): \< 1.17-7.1.mga5
- trustedfirmware op-tee: \< 2.2.0

## References

- <https://github.com/libtom/libtomcrypt/commit/5eb9743410ce4657e9d54fef26a2ee31a1b5dd0>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1370955>
- <https://www.op-tee.org/advisories/>
- <https://advisories.mageia.org/MGASA-2016-0369.html>
- <https://bugs.mageia.org/show_bug.cgi?id=19305>
- <http://lwn.net/Alerts/699791/>
- <https://ubuntu.com/security/CVE-2016-6129>
- <https://github.com/OP-TEE/optee_os/commit/30d13250c390c4f56adefdcd3b64b7cc672f9fe2>
- <https://github.com/libtom/libtomcrypt/commit/5eb9743410ce4657e9d54fef26a2ee31a1b5dd09>
- <https://www.cve.org/CVERecord?id=CVE-2016-6129>
- <https://security-tracker.debian.org/tracker/CVE-2016-6129>

---

Data as of 2026-12-05T13:41:32.165Z. 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
