{"schemaVersion":3,"id":"CVE-2016-6129","aliases":["MGASA-2016-0369","UBUNTU-CVE-2016-6129","DEBIAN-CVE-2016-6129","DLA-612-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-02-13T18:00:00.000Z","modified":"2024-08-06T01:22:20.230Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.00775,"percentile":0.55026,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00775},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00775,"percentile":0.55026}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00775,"percentile":0.55026}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"libtomcrypt","name":"libtomcrypt","label":"libtomcrypt","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libtomcrypt","purlType":"deb","versions":[{"text":"< 1.17-8","noFixRecorded":false,"fixedIn":null},{"text":"< 1.17-3.2+deb7u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.17-8 | < 1.17-3.2+deb7u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libtomcrypt","name":"libtomcrypt","label":"libtomcrypt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libtomcrypt","purlType":"deb","versions":[{"text":"< 1.17-5ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.17-7ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.17-5ubuntu0.1 | < 1.17-7ubuntu0.1","eol":null,"hubHref":null},{"vendor":"libtom","product":"libtomcrypt","name":"libtomcrypt","label":"libtomcrypt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.17","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.17","eol":null,"hubHref":"/vendor/libtom/libtomcrypt"},{"vendor":"mageia","product":"libtomcrypt","name":"libtomcrypt","label":"libtomcrypt","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libtomcrypt","purlType":"rpm","versions":[{"text":"< 1.17-7.1.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.17-7.1.mga5","eol":null,"hubHref":null},{"vendor":"trustedfirmware","product":"op-tee","name":"op-tee","label":"op-tee","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 2.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.0","eol":null,"hubHref":"/vendor/trustedfirmware/op-tee"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libtom/libtomcrypt/commit/5eb9743410ce4657e9d54fef26a2ee31a1b5dd0","label":"github.com/libtom/libtomcrypt/commit/5eb9743410ce4657e9d54fef26a2ee31a1b5dd0","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1370955","label":"bugzilla.redhat.com/show_bug.cgi?id=1370955","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch"]},{"url":"https://www.op-tee.org/advisories/","label":"www.op-tee.org/advisories/","hostname":"www.op-tee.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0369.html","label":"advisories.mageia.org/MGASA-2016-0369.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19305","label":"bugs.mageia.org/show_bug.cgi?id=19305","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"http://lwn.net/Alerts/699791/","label":"lwn.net/Alerts/699791/","hostname":"lwn.net","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2016-6129","label":"ubuntu.com/security/CVE-2016-6129","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/OP-TEE/optee_os/commit/30d13250c390c4f56adefdcd3b64b7cc672f9fe2","label":"github.com/OP-TEE/optee_os/commit/30d13250c390c4f56adefdcd3b64b7cc672f9fe2","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/libtom/libtomcrypt/commit/5eb9743410ce4657e9d54fef26a2ee31a1b5dd09","label":"github.com/libtom/libtomcrypt/commit/5eb9743410ce4657e9d54fef26a2ee31a1b5dd09","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-6129","label":"www.cve.org/CVERecord?id=CVE-2016-6129","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-6129","label":"security-tracker.debian.org/tracker/CVE-2016-6129","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-02-13T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T01:22:20.230Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:21:48.682Z","stale":false,"partial":false}}