CVE-2004-0806: cdrecord in the cdrtools package before 2.01, when installed setuid root, does not properly drop privileges be
CVE-2004-0806 is a high-severity flaw (CVSS 7.2) affecting cdrecord. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
cdrecord in the cdrtools package before 2.01, when installed setuid root, does not properly drop privileges before executing a program specified in the RSH environment variable, which allows local users to gain privileges.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.2 (High) |
| EPSS exploit chance | 1.7% (top 22%) |
| CISA exploited list | No |
| Published | 2004-12-31 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation
- Exploit-DB: CDRecord's ReadCD - Local Privilege Escalation
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-2004-0806?
cdrecord: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0806 being exploited?
CVE-2004-0806 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-2004-0806 affect?
CVE-2004-0806 affects cdrecord. Severity is high (CVSS 7.2). cdrecord in the cdrtools package before 2.01, when installed setuid root, does not properly drop privileges before executing a program specified in the RSH environment variable, which allows local users to gain privileges.
How urgent is CVE-2004-0806?
Priority 50/100. High severity; Public exploit reference
Related CVEs
- CVE-2005-0866 LOW 2.1 UPGRADE cdrecord before 4:2.0, when DEBUG is enabled, allows local users to overwrite arbitrary files via a symlink at
- CVE-2003-0289 HIGH 7.2 DOWNGRADE Format string vulnerability in scsiopen.c of the cdrecord program in cdrtools 2.0 allows local users to gain p