6.9 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- 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): High (H)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): None (N)
- 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): Local (L)
- 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): High (H)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- 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)
Activity log
- Created suggestion
Global Buffer Overflow in GNU gzip
GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer. This issue has been fixed in the commit 63dbf6b3b9e6e781df1a6a64e609b10e23969681
References
Affected products
- =<1.14
Matching in nixpkgs
pkgs.gzip
GNU zip compression program
pkgs.rapidgzip
Python library for parallel decompression and seeking within compressed gzip files
pkgs.ocamlPackages.ezgzip
Simple gzip (de)compression library
pkgs.minimal-bootstrap.gzip
GNU zip compression program
pkgs.perlPackages.PerlIOgzip
Perl extension to provide a PerlIO layer to gzip/gunzip
pkgs.perl5Packages.PerlIOgzip
Perl extension to provide a PerlIO layer to gzip/gunzip
pkgs.perl538Packages.PerlIOgzip
None
pkgs.perl540Packages.PerlIOgzip
None
pkgs.ocamlPackages_latest.ezgzip
Simple gzip (de)compression library
pkgs.python312Packages.rapidgzip
None
pkgs.python313Packages.rapidgzip
Python library for parallel decompression and seeking within compressed gzip files
pkgs.python314Packages.rapidgzip
Python library for parallel decompression and seeking within compressed gzip files
pkgs.minimal-bootstrap.gzip-static
GNU zip compression program
pkgs.python312Packages.indexed-gzip
None
pkgs.python313Packages.indexed-gzip
Python library to seek within compressed gzip files
pkgs.python314Packages.indexed-gzip
Python library to seek within compressed gzip files
pkgs.haskellPackages.hack-middleware-gzip
Automatic gzip compression of responses. (deprecated)