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.

Suggestions search

With package: perl538Packages.FileType

Found 2 matching suggestions

View:
Compact
Detailed
Permalink CVE-2026-32630
5.3 MEDIUM
  • CVSS version: 3.1
  • Attack vector (AV): NETWORK
  • Attack complexity (AC): LOW
  • Privileges required (PR): NONE
  • User interaction (UI): NONE
  • Scope (S): UNCHANGED
  • Confidentiality impact (C): NONE
  • Integrity impact (I): NONE
  • Availability impact (A): LOW
created 1 month, 1 week ago Activity log
  • Created suggestion
file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry

file-type detects the file type of a file, stream, or data. From 20.0.0 to 21.3.1, a crafted ZIP file can trigger excessive memory growth during type detection in file-type when using fileTypeFromBuffer(), fileTypeFromBlob(), or fileTypeFromFile(). The ZIP inflate output limit is enforced for stream-based detection, but not for known-size inputs. As a result, a small compressed ZIP can cause file-type to inflate and process a much larger payload while probing ZIP-based formats such as OOXML. This vulnerability is fixed in 21.3.2.

Affected products

file-type
  • ==>= 20.0.0, < 21.3.2

Matching in nixpkgs

pkgs.perlPackages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-unstable 0.22
    • nixpkgs-unstable 0.22
    • nixos-unstable-small 0.22
  • nixos-25.11 0.22
    • nixos-25.11-small 0.22
    • nixpkgs-25.11-darwin 0.22

pkgs.perl5Packages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-unstable 0.22
    • nixpkgs-unstable 0.22
    • nixos-unstable-small 0.22

pkgs.perl538Packages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-25.11 0.22
    • nixos-25.11-small 0.22
    • nixpkgs-25.11-darwin 0.22

pkgs.perl540Packages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-25.11 0.22
    • nixos-25.11-small 0.22
    • nixpkgs-25.11-darwin 0.22
Permalink CVE-2026-31808
5.3 MEDIUM
  • CVSS version: 3.1
  • Attack vector (AV): NETWORK
  • Attack complexity (AC): LOW
  • Privileges required (PR): NONE
  • User interaction (UI): NONE
  • Scope (S): UNCHANGED
  • Confidentiality impact (C): NONE
  • Integrity impact (I): NONE
  • Availability impact (A): LOW
created 1 month, 1 week ago Activity log
  • Created suggestion
file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header

file-type detects the file type of a file, stream, or data. Prior to 21.3.1, a denial of service vulnerability exists in the ASF (WMV/WMA) file type detection parser. When parsing a crafted input where an ASF sub-header has a size field of zero, the parser enters an infinite loop. The payload value becomes negative (-24), causing tokenizer.ignore(payload) to move the read position backwards, so the same sub-header is read repeatedly forever. Any application that uses file-type to detect the type of untrusted/attacker-controlled input is affected. An attacker can stall the Node.js event loop with a 55-byte payload. Fixed in version 21.3.1.

Affected products

file-type
  • ==>= 13.0.0, < 21.3.1

Matching in nixpkgs

pkgs.perlPackages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-unstable 0.22
    • nixpkgs-unstable 0.22
    • nixos-unstable-small 0.22
  • nixos-25.11 0.22
    • nixos-25.11-small 0.22
    • nixpkgs-25.11-darwin 0.22

pkgs.perl5Packages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-unstable 0.22
    • nixpkgs-unstable 0.22
    • nixos-unstable-small 0.22

pkgs.perl538Packages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-25.11 0.22
    • nixos-25.11-small 0.22
    • nixpkgs-25.11-darwin 0.22

pkgs.perl540Packages.FileType

Uses magic numbers (typically at the start of a file) to determine the MIME type of that file

  • nixos-25.11 0.22
    • nixos-25.11-small 0.22
    • nixpkgs-25.11-darwin 0.22