Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2007-5958: X.Org Xserver before 1.4.1 allows local users to determine the existence of arbitrary files via a filename arg

46
This month
MEDIUM 5.0UPGRADE

CVE-2007-5958 is a medium-severity flaw (CVSS 5.0) affecting xserver. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

X.Org Xserver before 1.4.1 allows local users to determine the existence of arbitrary files via a filename argument in the -sp option to the X program, which produces different error messages depending on whether the filename exists.

Why this priority

  • EPSS top 7%: very likely to be exploited
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score5.0 (Medium)
EPSS exploit chance5.3% (top 7%)
CISA exploited listNo
WeaknessCWE-200
Published2008-01-18
Last modified2026-06-16
Publisher (CNA): Red Hat, Inc. · Vendor: x.org

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

x.org xserver UPGRADE
Affected: <= 1.4
Fixed in: newer than 1.4
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy xserver || rpm -q xserver || xserver --version
2. UPGRADE to newer than 1.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade xserver
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade xserver
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2007-5958?

xserver: upgrade to newer than 1.4. Exact commands for each OS are on this page.

Is CVE-2007-5958 being exploited?

CVE-2007-5958 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2007-5958 affect?

CVE-2007-5958 affects xserver. Severity is medium (CVSS 5.0). X.Org Xserver before 1.4.1 allows local users to determine the existence of arbitrary files via a filename argument in the -sp option to the X program, which produces different error messages depending on whether the filename exists.

How urgent is CVE-2007-5958?

Priority 46/100. EPSS top 7%: very likely to be exploited; Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.