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-59250
8.3 HIGH
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): Present (P)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Vulnerable System Impact Confidentiality (VC): None (N)
  • Vulnerable System Impact Integrity (VI): Low (L)
  • 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): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): Present (P)
  • 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): Low (L)
  • 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): Negligible (N)
  • 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
Megaco flex scanner buffer overflow via oversized property parm name

Classic buffer overflow in the Erlang/OTP megaco flex scanner C driver allows a remote unauthenticated attacker to corrupt the driver's memory (and potentially achieve remote code execution or a denial-of-service crash) by sending a single text-encoded H.248/Megaco message containing an oversized property parm name. When tokenizing a Local/Remote descriptor, mfs_load_property_groups extracts the attacker-controlled property name (bounded only by the message length) and, when no value follows, formats it into a fixed 512-byte error_msg field of the MfsErlDrvData struct using an unchecked sprintf call. Names longer than roughly 452 bytes overflow into the immediately following struct fields (text_buf, text_ptr, term_spec, term_spec_size, term_spec_index), overwriting live pointers and counters with attacker-chosen bytes. Subsequent scanner code writes and frees through the corrupted pointers, producing arbitrary write and arbitrary free primitives inside the BEAM VM process, which can be leveraged for remote code execution. On builds compiled with _FORTIFY_SOURCE the overflow is detected at runtime and terminates the process with SIGABRT, resulting in denial of service. The overflow occurs in the flex scanner before any grammar or Megaco-level authentication processing, so exploitation requires only network reachability to the megaco transport port on a node configured with {scanner, flex}. This vulnerability is associated with program files lib/megaco/src/flex/megaco_flex_scanner_drv.flex.src and program routines mfs_load_property_groups. This issue affects OTP from OTP 17.0 before OTP 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to megaco from 3.17.1 before 4.9.1, 4.8.3.1 and 4.7.2.2. Versions prior to OTP 17.0 are also affected but are not listed because the OTP version scheme is only defined from OTP 17.0 onwards.

Affected products

megaco
  • *
erlang/otp
  • *
  • <8704c8f550a11ed5f825e3c011ecb03565b79c4f

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