CVE-2005-2991
ncompress: insecure tmp file handling may lead to file overwrite
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 9, 2021
Updated · November 21, 2025
Description
ncompress 4.2.4 and earlier allows local users to overwrite arbitrary files via a symlink attack on temporary files using (1) zdiff or (2) zcmp, a different vulnerability than CVE-2004-0970.
Statement
Not vulnerable. This issue did not affect the ncompress packages as distributed with Red Hat Enterprise Linux 2.1, 3, or 4.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
CWE-59 · Improper Link Resolution Before File Access ('Link Following')