CVE-2005-4784
Description
Multiple buffer overflows in the POSIX readdir_r function, as used in multiple packages, allow local users to cause a denial of service and possibly execute arbitrary code via (1) a symlink attack that exploits a race condition between opendir and pathcon calls and changes the filesystem to one with a larger maximum directory-entry name length, or (2) possibly via programmer-introduced errors on operating systems with a small struct dirent, such as Solaris or BeOS, as demonstrated in packages including (a) gcj, (b) KDE, (c) libwww, (d) the Rudiments library, (e) teTeX, (f) xmail, (g) bfbtester, (h) ncftp, (i) netwib, (j) OpenOffice.org, (k) Pike, (l) reprepro, (m) Tcl, and (n) xgsmlib.
Timeline
- 2005-12-31Published
- 2006-04-14Published by the CNA10:00 UTC · 104 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| austin_group posix |
References
- http://womble.decadentplace.org.uk/readdir_r-advisory.html
- http://www.securityfocus.com/archive/1/415781
- http://www.securityfocus.com/archive/1/415790/30/0/threaded
- http://www.securityfocus.com/archive/1/415995/30/0/threaded
- http://www.securityfocus.com/archive/1/415998/30/0/threaded
- http://www.securityfocus.com/archive/1/415999/30/0/threaded
- http://www.securityfocus.com/archive/1/416002/30/0/threaded
- http://www.securityfocus.com/archive/1/416048/30/0/threaded
- http://www.securityfocus.com/bid/15259
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-4784'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-4784'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-4784'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-4784'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).