CVE-2005-4784
MEDIUM 5.6CVSS 2.0Multiple 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.
- Published
- 31 Dec 2005
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.6 | AV:L/AC:H/Au:N/C:C/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | austin_group | posixcpe:2.3:o:austin_group:posix:*:*:*:*:*:*:*:* |
all versions |
References
- http://womble.decadentplace.org.uk/readdir_r-advisory.html · Vendor Advisory
- 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
History
- 25 Nov 2026 20:12 UTC · NVD: first stored (published 31 Dec 2005)