Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Untriaged
Permalink CVE-2026-59251
8.7 HIGH
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): None (N)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Vulnerable System Impact Confidentiality (VC): None (N)
  • Vulnerable System Impact Integrity (VI): None (N)
  • Vulnerable System Impact Availability (VA): High (H)
  • Subsequent System Impact Confidentiality (SC): None (N)
  • Subsequent System Impact Integrity (SI): None (N)
  • Subsequent System Impact Availability (SA): Low (L)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): None (N)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Vulnerable System Impact Confidentiality (MVC): None (N)
  • Modified Vulnerable System Impact Integrity (MVI): None (N)
  • Modified Vulnerable System Impact Availability (MVA): High (H)
  • Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
  • Modified Subsequent System Impact Integrity (MSI): Negligible (N)
  • Modified Subsequent System Impact Availability (MSA): Low (L)
  • Safety (S): Not Defined (X)
  • Automatable (AU): Not Defined (X)
  • Recovery (R): Not Defined (X)
  • Value Density (V): Not Defined (X)
  • Vulnerability Response Effort (RE): Not Defined (X)
  • Provider Urgency (U): Not Defined (X)
  • Confidentiality Req. (CR): Not Defined (X)
  • Integrity Req. (IR): Not Defined (X)
  • Availability Req. (AR): Not Defined (X)
  • Exploit Maturity (E): Not Defined (X)
created 1 month ago Activity log
  • Created suggestion
Denial of service via exponential certificate policy tree growth in path validation

Allocation of resources without limits in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause denial of service by sending a crafted X.509 certificate chain during the TLS handshake. During RFC 5280 policy processing in public_key:pkix_path_validation/3, the certificate policy tree maintained by pubkey_policy_tree grows without an upper bound. When a certificate chain contains M policies per certificate and K certificates, the tree grows on the order of M^K nodes because pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2 extend the tree per policy per certificate. A modest chain with many policies per certificate is enough to pin BEAM schedulers and exhaust the node's memory, taking down the entire VM. The attacker only needs to be able to present a certificate chain to the victim, which is the normal precondition for a TLS handshake, so exploitation succeeds against any incoming or outgoing TLS connection that validates the peer's chain (the default for SSL/TLS clients and mutual-TLS servers). This is the same vulnerability class as OpenSSL's X509_verify_cert policy tree DoS. This vulnerability is associated with program files lib/public_key/src/pubkey_policy_tree.erl and program routines pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2. This issue affects OTP from OTP 26.2 before OTP 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to public_key from 1.15 before 1.21.4, 1.20.3.4 and 1.17.1.5.

Affected products

erlang/otp
  • *
public_key
  • *

Matching in nixpkgs

pkgs.cotp

Trustworthy, encrypted, command-line TOTP/HOTP authenticator app with import functionality

  • nixos-unstable -
  • nixos-26.05 -

pkgs.otpw

One-time password login package

  • nixos-unstable -
    • nixos-unstable-small 1.5
  • nixos-26.05 -
    • nixos-26.05-small 1.5

pkgs.libcotp

C library that generates TOTP and HOTP

  • nixos-unstable -
    • nixos-unstable-small 4.1.0
  • nixos-26.05 -
    • nixos-26.05-small 3.1.1

pkgs.mintotp

Minimal TOTP generator

  • nixos-unstable -
    • nixos-unstable-small 0.3.0
  • nixos-26.05 -
    • nixos-26.05-small 0.3.0

pkgs.otpauth

Google Authenticator migration decoder

  • nixos-unstable -
    • nixos-unstable-small 0.6.0
  • nixos-26.05 -
    • nixos-26.05-small 0.6.0

pkgs.hotpatch

Hot patching executables on Linux using .so file injection

  • nixos-unstable -
    • nixos-unstable-small 0.2
  • nixos-26.05 -
    • nixos-26.05-small 0.2

pkgs.totp-cli

Authy/Google Authenticator like TOTP CLI tool written in Go

  • nixos-unstable -
    • nixos-unstable-small 1.9.2
  • nixos-26.05 -
    • nixos-26.05-small 1.9.2

pkgs.otpclient

Highly secure and easy to use OTP client written in C/GTK that supports both TOTP and HOTP

  • nixos-unstable -
    • nixos-unstable-small 5.1.1
  • nixos-26.05 -
    • nixos-26.05-small 4.2.0

pkgs.tpm2-totp

Attest the trustworthiness of a device against a human using time-based one-time passwords

  • nixos-unstable -
    • nixos-unstable-small 0.3.0
  • nixos-26.05 -
    • nixos-26.05-small 0.3.0

pkgs.godotpcktool

Standalone tool for extracting and creating Godot .pck files

  • nixos-unstable -
    • nixos-unstable-small 2.3
  • nixos-26.05 -
    • nixos-26.05-small 2.2

pkgs.nitrotpm-tools

Collection of utilities for working with NitroTPM attestation

  • nixos-unstable -
    • nixos-unstable-small 1.1.2
  • nixos-26.05 -
    • nixos-26.05-small 1.1.1

pkgs.gnomeExtensions.totp

Generate One-Time Passwords (aka OTP, both TOTP and HOTP) for websites that use Two-Factor Authentication (2FA) like Google, Facebook, Discord, Amazon, Steam, etc.

  • nixos-unstable -
    • nixos-unstable-small 54
  • nixos-26.05 -
    • nixos-26.05-small 54

pkgs.passExtensions.pass-otp

Pass extension for managing one-time-password (OTP) tokens

  • nixos-unstable -
    • nixos-unstable-small 1.2.0
  • nixos-26.05 -
    • nixos-26.05-small 1.2.0

pkgs.tpm2-totp-with-plymouth

Attest the trustworthiness of a device against a human using time-based one-time passwords

  • nixos-unstable -
    • nixos-unstable-small 0.3.0
  • nixos-26.05 -
    • nixos-26.05-small 0.3.0

pkgs.python313Packages.plotpy

Curve and image plotting tools for Python/Qt applications

  • nixos-unstable -
    • nixos-unstable-small 2.9.0
  • nixos-26.05 -
    • nixos-26.05-small 2.9.0

pkgs.gnomeExtensions.bootpaper

Randomly selects a new wallpaper on startup from local folder

  • nixos-unstable -
    • nixos-unstable-small 6
  • nixos-26.05 -
    • nixos-26.05-small 6

pkgs.python313Packages.can-isotp

Python package that provides support for ISO-TP (ISO-15765) protocol

  • nixos-unstable -
    • nixos-unstable-small 2.0.7
  • nixos-26.05 -
    • nixos-26.05-small 2.0.7

pkgs.python314Packages.can-isotp

Python package that provides support for ISO-TP (ISO-15765) protocol

  • nixos-unstable -
    • nixos-unstable-small 2.0.7
  • nixos-26.05 -
    • nixos-26.05-small 2.0.7

pkgs.python313Packages.django-otp

Pluggable framework for adding two-factor authentication to Django using one-time passwords

  • nixos-unstable -
    • nixos-unstable-small 1.7.0
  • nixos-26.05 -
    • nixos-26.05-small 1.7.0

pkgs.python314Packages.django-otp

Pluggable framework for adding two-factor authentication to Django using one-time passwords

  • nixos-unstable -
    • nixos-unstable-small 1.7.0
  • nixos-26.05 -
    • nixos-26.05-small 1.7.0

pkgs.gnomeExtensions.nitrokey-3-otp

Provide a system menu item to retrieve an OTP from a NitroKey. Pick the desired target from the menu and paste from the clipboard.

  • nixos-unstable -
  • nixos-26.05 -

Package maintainers