CVE-2007-4998

CVE-2007-4998 is a medium-severity vulnerability in Linux Linux Kernel with a CVSS 2.0 base score of 6.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-59.

Key facts

Description

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.

Frequently asked questions

What is CVE-2007-4998?
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.
How severe is CVE-2007-4998?
CVE-2007-4998 has a CVSS 2.0 base score of 6.9, rated medium severity.
Is CVE-2007-4998 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-4998?
CVE-2007-4998 affects Linux Linux Kernel. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-4998?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-4998 published?
CVE-2007-4998 was published on 2008-01-31 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Linux Linux Kernel

All CVEs affecting Linux Linux Kernel →

Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities

Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →