CVE-2004-0548
Description
Stack-based buffer overflows in Aspell word-list-compress allow local code execution via a malformed wordlist entry longer than 256 bytes.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stack-based buffer overflows in Aspell word-list-compress allow local code execution via a malformed wordlist entry longer than 256 bytes.
Vulnerability
Multiple stack-based buffer overflows exist in the word-list-compress utility included in the Aspell package [1]. The utility provides c (compress) and d (decompress) options. The overflow occurs when the program processes a wordlist entry exceeding 256 bytes using the get_word() function, which performs no bounds checking before copying into fixed-size stack buffers s1 and s2 [1]. All versions of Aspell are reported to be affected [1][2].
Exploitation
An attacker can exploit this by supplying a carefully crafted wordlist containing a word entry longer than 256 bytes. The utility must be invoked with either the -c (compress) or -d (decompress) option on the malicious wordlist [1]. No special privileges are required beyond the ability to run word-list-compress; the attack is local [1][2].
Impact
Successful exploitation overwrites the saved return address or other critical stack data, allowing the attacker to execute arbitrary code with the privileges of the user running the utility [1][2]. The confidentiality, integrity, and availability of the system may be fully compromised, depending on the attacker's injected payload.
Mitigation
Gentoo has released updated packages: version >=app-text/aspell-0.50.5-r4 resolves the issue [2]. Users should upgrade to a patched version of Aspell. No workaround is available [2].
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
3- cpe:2.3:o:gentoo:linux:1.4:*:*:*:*:*:*:*
Patches
0No patches discovered yet.
Vulnerability mechanics
Synthesis attempt was rejected by the grounding validator. Re-run pending.
References
4News mentions
0No linked articles in our index yet.