Skip to content
Heist/ feed
Back to feed
HighFix available

libtomcrypt — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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 easier for remote attackers to forge RSA signatures or public certificates by leveraging a Bleichenbacher signature forgery attack.

Products
libtomcrypt
Affected versions
1.17-3.2ubuntu1, 1.17-5, 1.17-7
Fixed versions
1.17-5ubuntu0.1, 1.17-7ubuntu0.1
CVEs
CVE-2016-6129
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:14 UTC · Revision 1

Source evidence

UBUNTU-CVE-2016-6129

core-osv · Original source

Published 13 Feb 2017, 18:59 UTC

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.

osv:UBUNTU-CVE-2016-6129

libtomcrypt

Fixed versions: 1.17-5ubuntu0.1

libtomcrypt

Fixed versions: 1.17-7ubuntu0.1

Complete source record
{
  "id": "bb2dbb4269d59583aad0275863d45c456f50dfe5bb78ae942de9de0aca9fb119",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2016-6129",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2016-6129",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2016-6129",
    "products": [
      {
        "name": {
          "value": "libtomcrypt",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.17-5ubuntu0.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.17-3.2ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.17-5",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libtomcrypt",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.17-7ubuntu0.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.17-7",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2016-6129",
      "aliases": [
        "UBUNTU-CVE-2016-6129"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.17-5ubuntu0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libtomcrypt",
            "purl": "pkg:deb/ubuntu/libtomcrypt?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "1.17-3.2ubuntu1",
            "1.17-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6129.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtomcrypt0",
                "binary_version": "1.17-5ubuntu0.1"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.17-7ubuntu0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libtomcrypt",
            "purl": "pkg:deb/ubuntu/libtomcrypt?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.17-7"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6129.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libtomcrypt0",
                "binary_version": "1.17-7ubuntu0.1"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-27T04:15:26.043145275Z",
      "provider": "osv",
      "upstream": [
        "CVE-2016-6129"
      ],
      "references": [
        "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"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2016-6129",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460168,
  "published_at": "2017-02-13T18:59:00+00:00"
}