aspell: Buffer overflow in word-list-compress
Gentoo Linux Security Advisory
||GLSA 200406-14 / aspell
||June 17, 2004
||May 22, 2006: 03
All supported architectures
A bug in the aspell utility word-list-compress can allow an attacker to
execute arbitrary code.
aspell is a popular spell-checker. Dictionaries are available for many
aspell includes a utility for handling wordlists called
word-list-compress. This utility fails to do proper bounds checking
when processing words longer than 256 bytes.
If an attacker could entice a user to handle a wordlist containing very
long word lengths it could result in the execution of arbitrary code
with the permissions of the user running the program.
There is no known workaround at this time. All users are encouraged to
upgrade to the latest available version.
All users should upgrade to the latest available version of aspell.
Code Listing 3.1: Resolution
# emerge sync
# emerge -pv ">=app-text/aspell-0.50.5-r4"
# emerge ">=app-text/aspell-0.50.5-r4"