CVE-2005-4784 Memory corruption in n/a

Medium 5.6 Published Updated

Local attackers can cause denial of service or execute arbitrary code via buffer overflows in the POSIX readdir_r function using race conditions or small struct dirent issues.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2005-4784?

CVE-2005-4784 is a medium-severity memory corruption vulnerability in n/a, published on 14 Apr 2006. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2005-4784?

It affects 1 product.

Products include Austin Group Posix.

How do I fix CVE-2005-4784?

No fix has been published for CVE-2005-4784 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2005-4784 being exploited?

There is no known exploitation of CVE-2005-4784 in the wild and no public exploit code.

Sources

Also known as GHSA-xfmp-2r38-cvc9.

Is CVE-2005-4784 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free