Skip to content
Heist/ feed
Back to feed
High

libcrypt-dsa-perl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-14570

Crypt::DSA versions before 1.22 for Perl draw the DSA signing nonce and private key from a biased random generator, leading to private-key recovery. "Crypt::DSA::Util::makerandom forces the high bit of every value it returns to obtain an exactly N-bit integer for prime search. The signing nonce and the private key are drawn from makerandom. Because the high bit is always set, the result is not uniform: its top bit is fixed, producing insecure values." An attacker who collects a modest number of signatures under an affected key, together with the public key, can recover the private key with a lattice attack. Keys used to sign with an affected version should be considered compromised and new keys should be generated.

Products
libcrypt-dsa-perl
Affected versions
1.17-5, 1.19-1, 1.20-1, 1.21-1
Fixed versions
Not specified
CVEs
CVE-2026-14570
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:15 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-14570

core-osv · Original source

Published 5 Jul 2026, 02:17 UTC

Crypt::DSA versions before 1.22 for Perl draw the DSA signing nonce and private key from a biased random generator, leading to private-key recovery. "Crypt::DSA::Util::makerandom forces the high bit of every value it returns to obtain an exactly N-bit integer for prime search. The signing nonce and the private key are drawn from makerandom. Because the high bit is always set, the result is not uniform: its top bit is fixed, producing insecure values." An attacker who collects a modest number of signatures under an affected key, together with the public key, can recover the private key with a lattice attack. Keys used to sign with an affected version should be considered compromised and new keys should be generated.

osv:DEBIAN-CVE-2026-14570

libcrypt-dsa-perl

Fixed versions: Not specified

libcrypt-dsa-perl

Fixed versions: Not specified

Complete source record
{
  "id": "40794882581fc8bb548755d1ce4e8e0c4f2fc6ada08489e2fa394100c57fbffc",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-14570",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-14570",
    "summary": "Crypt::DSA versions before 1.22 for Perl draw the DSA signing nonce and private key from a biased random generator, leading to private-key recovery. \"Crypt::DSA::Util::makerandom forces the high bit of every value it returns to obtain an exactly N-bit integer for prime search. The signing nonce and the private key are drawn from makerandom. Because the high bit is always set, the result is not uniform: its top bit is fixed, producing insecure values.\" An attacker who collects a modest number of signatures under an affected key, together with the public key, can recover the private key with a lattice attack. Keys used to sign with an affected version should be considered compromised and new keys should be generated.",
    "evidence": "osv:DEBIAN-CVE-2026-14570",
    "products": [
      {
        "name": {
          "value": "libcrypt-dsa-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.21-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-dsa-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.19-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.21-1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-14570",
      "aliases": [
        "DEBIAN-CVE-2026-14570"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-dsa-perl",
            "purl": "pkg:deb/debian/libcrypt-dsa-perl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.17-5",
            "1.19-1",
            "1.20-1",
            "1.21-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14570.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-dsa-perl",
            "purl": "pkg:deb/debian/libcrypt-dsa-perl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.19-1",
            "1.20-1",
            "1.21-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14570.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T11:47:32.301047815Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-14570"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-14570"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-14570",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450736,
  "published_at": "2026-07-05T02:17:40.19+00:00"
}