Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-1925

NIXPKGS-2026-1925
published 10 hours ago
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery
updated 10 hours ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery

Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery. Crypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it. The first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical "r". Keys used to sign more than once with an affected version should be considered compromised.

Affected products

Crypt-DSA
  • <1.21

Matching in nixpkgs

Package maintainers