Skip to content
Heist/ feed
Back to feed
Medium

Improper Validation of Admin Key in PIV Smartcard

Type: advisorySources: OSV

Nitrokey 3 Firmware is the the firmware of Nitrokey 3 USB keys. For release 1.8.0, and test releases with PIV enabled prior to 1.8.0, the PIV application could accept invalid keys for authentication of the admin key. This could lead to compromise of the integrity of the data stored in the application. An attacker without access to the proper administration key would be able to generate new keys and overwrite certificates. Such an attacker would not be able to read-out or extract existing private data, nor would they be able to gain access to cryptographic operations that would normally require PIN-based authentication. The issue is fixed in piv-authenticator 0.3.9, and in Nitrokey's firmware 1.8.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-25201
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:53 UTC · Revision 1

Source evidence

Improper Validation of Admin Key in PIV Smartcard

core-osv · Original source

Published 12 Feb 2025, 18:07 UTC

Nitrokey 3 Firmware is the the firmware of Nitrokey 3 USB keys. For release 1.8.0, and test releases with PIV enabled prior to 1.8.0, the PIV application could accept invalid keys for authentication of the admin key. This could lead to compromise of the integrity of the data stored in the application. An attacker without access to the proper administration key would be able to generate new keys and overwrite certificates. Such an attacker would not be able to read-out or extract existing private data, nor would they be able to gain access to cryptographic operations that would normally require PIN-based authentication. The issue is fixed in piv-authenticator 0.3.9, and in Nitrokey's firmware 1.8.1.

osv:CVE-2025-25201
Complete source record
{
  "id": "60a18ada3748bb218379e037fa38dd0e537946055de2f46f396620d4dfa3318a",
  "url": "https://osv.dev/vulnerability/CVE-2025-25201",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Validation of Admin Key in PIV Smartcard",
    "summary": "Nitrokey 3 Firmware is the the firmware of Nitrokey 3 USB keys. For release 1.8.0, and test releases with PIV enabled prior to 1.8.0, the PIV application could accept invalid keys for authentication of the admin key. This could lead to compromise of the integrity of the data stored in the application. An attacker without access to the proper administration key would be able to generate new keys and overwrite certificates. Such an attacker would not be able to read-out or extract existing private data, nor would they be able to gain access to cryptographic operations that would normally require PIN-based authentication. The issue is fixed in piv-authenticator 0.3.9, and in Nitrokey's firmware 1.8.1.",
    "evidence": "osv:CVE-2025-25201",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-25201",
      "aliases": [
        "CVE-2025-25201",
        "GHSA-jfhm-ppq8-7hgx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nitrokey/nitrokey-3-firmware",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8bfc4fb63d8f2004368a089bdb9900bb03902ce2"
                },
                {
                  "fixed": "8e81fd421efbfdf3b0df76e586897dc1140aed71"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "= 1.8.0"
                      },
                      {
                        "last_affected": "= 1.8.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8e81fd421efbfdf3b0df76e586897dc1140aed71"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.8.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "= 1.8.0",
            "v1.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25201.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.316856153Z",
      "provider": "osv",
      "references": [
        "https://github.com/Nitrokey/nitrokey-3-firmware/releases/tag/v1.8.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25201.json",
        "https://github.com/Nitrokey/nitrokey-3-firmware/security/advisories/GHSA-jfhm-ppq8-7hgx",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-25201",
        "https://www.nitrokey.com/blog/2025/nitrokey-3-firmware-v181-security-update"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-287"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25201.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-25201",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494732,
  "published_at": "2025-02-12T18:07:13.686+00:00"
}