{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ec4044008d2d069da38288bc76b0fee34ec78646"
            }
          ],
          "repo": "https://github.com/mbed-tls/mbedtls",
          "type": "GIT"
        },
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:arm:tf-psa-crypto:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.0.0"
              },
              {
                "last_affected": "1.0.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "76920edddcad00ac41b248e12d937b845df7bedb"
            }
          ],
          "repo": "https://github.com/mbed-tls/tf-psa-crypto",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66442.json"
  },
  "details": "In Mbed TLS through 4.0.0, there is a compiler-induced timing side channel (in RSA and CBC/ECB decryption) that only occurs with LLVM's select-optimize feature. TF-PSA-Crypto through 1.0.0 is also affected.",
  "id": "CVE-2025-66442",
  "modified": "2026-07-12T11:57:53.476304319Z",
  "published": "2026-04-01T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66442.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://mbed-tls.readthedocs.io/en/latest/security-advisories/"
    },
    {
      "type": "ADVISORY",
      "url": "https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-compiler-induced-constant-time-violations/"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66442"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Mbed-TLS/TF-PSA-Crypto/releases"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Mbed-TLS/mbedtls/releases"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}