Every CVE Search/ Get API key

CVE-2007-4998

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user...

6.9 MediumFix available

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Exploit likelihood

0.35%Down 0.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.9

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
CVE-2007-4998
CVSS 2.0
6.9 MediumAV:L/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-59
Updated
2026-11-02
CVE List No score

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
CVE-2007-4998
Updated
2026-11-02
EUVDEUVD-2007-4979 No score

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
EUVD-2007-4979
Updated
2026-11-03
GitHub AdvisoriesGHSA-4337-x4h9-rx8j No score

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user...

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
GHSA-4337-x4h9-rx8j
Weakness
CWE-59
Updated
2026-11-02
OSVAZL-34843 No score

CVE-2007-4998 affecting package kernel for versions less than 6.6.35.1-4

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
AZL-34843
Updated
2026-11-05
OSVAZL-6512 No score

CVE-2007-4998 affecting package kernel for versions less than 5.10.78.1-1

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
AZL-6512
Updated
2026-11-02
OSV No score

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
CVE-2007-4998
Updated
2026-11-02
OSVDEBIAN-CVE-2007-4998 No score

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.

Record
DEBIAN-CVE-2007-4998
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
kernel
Azure Linux:3
before 6.6.35.1-4
6.6.35.1-4
kernel
Azure Linux:2
before 5.10.78.1-1
5.10.78.1-1
coreutils
Debian:12
before 4.1.2
4.1.2
coreutils
Debian:13
before 4.1.2
4.1.2
coreutils
Debian:14
before 4.1.2
4.1.2

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
affected, aliases
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-4998 is a medium vulnerability (CVSS 6.9) in Linux Kernel, published January 31, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in kernel 6.6.35.1-4.

References

MoveEnter Open