Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-2348

NIXPKGS-2026-2348
published 14 hours ago
Popt-devel: popt-static: off-by-one in poptstuffargs
Permalink CVE-2026-18739
2.5 LOW
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): None (N)
  • Integrity (I): None (N)
  • Availability (A): Low (L)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): Low (L)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): None (N)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): None (N)
  • Modified Availability (MA): Low (L)
updated 14 hours ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    12 packages
    • ipopt
    • poptop
    • poptracker
    • scipopt-ug
    • scipopt-gcg
    • scipopt-scip
    • scipopt-zimpl
    • scipopt-papilo
    • scipopt-soplex
    • pkgsRocm.scipopt-ug
    • python313Packages.cyipopt
    • python314Packages.cyipopt
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Popt-devel: popt-static: off-by-one in poptstuffargs

A flaw was found in popt, a command-line option parsing library. An off-by-one error in the poptStuffArgs function, when repeatedly called by a host application or through deep alias nesting, can lead to corruption of internal program data. This corruption could potentially enable a local attacker to execute arbitrary code if the host application then unsafely processes the altered data.

References

Affected products

popt
rhcos

Matching in nixpkgs

pkgs.popt

Command line option parsing library

  • nixos-unstable 1.19
    • nixpkgs-unstable 1.19
    • nixos-unstable-small 1.19
  • nixos-26.05 1.19
    • nixos-26.05-small 1.19
    • nixpkgs-26.05-darwin 1.19
Ignored packages (12)

pkgs.poptop

Modern top command that charts system metrics like CPU load, network IO, etc in the terminal

pkgs.scipopt-ug

Ubiquity Generator framework to parallelize branch-and-bound based solvers

pkgs.scipopt-gcg

Branch-and-Price & Column Generation for Everyone

Package maintainers

Apparently no published fix yet (2026-08-05)