{"schemaVersion":4,"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.00768,"percentile":0.56929,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00768},"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":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00768,"percentile":0.56929}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00768,"percentile":0.56929}]},"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.17-8","endInclusive":false}},{"text":"< 1.17-3.2+deb7u1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.17-3.2+deb7u1","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.17-5ubuntu0.1","endInclusive":false}},{"text":"< 1.17-7ubuntu0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.17-7ubuntu0.1","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.17","endInclusive":true}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.17-7.1.mga5","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.2.0","endInclusive":false}}],"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}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00768,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-06T01:22:20.230Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-06T01:22:20.230Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","version":"2.0"},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-06T01:22:20.230Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-06T01:22:20.230Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},{"type":"cvss","source":"osv_debian","date":"2024-08-06T01:22:20.230Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}],"epss":{"value":0.00768,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:43:11.135Z","stale":false,"partial":false}}