Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestions search

With package: libtorrent-rasterbar-2_0_x

Found 1 matching suggestions

View:
Compact
Detailed
Untriaged
Permalink CVE-2026-71202
7.5 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): None (N)
  • Integrity (I): None (N)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): None (N)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): None (N)
  • Modified Availability (MA): High (H)
created 1 month, 2 weeks ago Activity log
  • Created suggestion
raster: Integer Underflow in crop() Offset Handling Causes Capacity-Overflow Panic

The raster Rust crate's crop() function (src/editor.rs) clamps the crop width/height against source dimensions but only clamps the offset_x/offset_y parameters against 0, never against the source width/height. When an offset exceeds the corresponding source dimension, `width2 - offset_x` (or the height equivalent) underflows to a negative i32, which release builds do not trap; the negative value is then cast to usize inside Image::blank()'s Vec::with_capacity() call, triggering a capacity-overflow panic and crashing the process on a single crafted crop request.

Affected products

raster
  • =<0.2.1

Matching in nixpkgs

pkgs.rastertoezpl

CUPS driver for GODEX printers

  • nixos-unstable -
  • nixos-26.05 -

pkgs.libtorrent-rasterbar

Efficient feature complete C++ bittorrent implementation

  • nixos-unstable -
  • nixos-26.05 -

pkgs.cups-drv-rastertosag-gdi

CUPS driver for Ricoh Aficio SP 1000S and SP 1100S printers

  • nixos-unstable -
    • nixos-unstable-small 0.1
  • nixos-26.05 -
    • nixos-26.05-small 0.1

Package maintainers