aspell: Buffer overflow in word-list-compress — GLSA 200406-14

A bug in the aspell utility word-list-compress can allow an attacker to execute arbitrary code.

Affected packages

app-text/aspell on all architectures
Affected versions <= 0.50.5-r3
Unaffected versions >= 0.50.5-r4

Background

aspell is a popular spell-checker. Dictionaries are available for many languages.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.

Resolution

All users should upgrade to the latest available version of aspell.

 # emerge sync
 
 # emerge -pv ">=app-text/aspell-0.50.5-r4"
 # emerge ">=app-text/aspell-0.50.5-r4"

References

Release date
June 17, 2004

Latest revision
May 22, 2006: 03

Severity
normal

Exploitable
local

Bugzilla entries