Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-75820 Overview
CVE-2026-75820 is an integer truncation vulnerability in GNU Aspell, an open-source spell-checking library used across Unix-like systems. The flaw resides in the WritableDict::add() function located in modules/speller/default/writable.cpp. When Aspell loads a personal wordlist, the word length is stored as a single byte. Words whose length is an exact multiple of 256 wrap to zero, causing heap corruption during dictionary processing. An attacker who convinces a user to run aspell against a crafted personal wordlist can trigger a denial-of-service condition. The weakness is classified as [CWE-190] Integer Overflow or Wraparound.
Critical Impact
Local heap corruption leading to denial of service when a victim loads a malicious personal wordlist with aspell.
Affected Products
- GNU Aspell versions prior to 0.60.8.3
- Linux distributions packaging vulnerable Aspell builds
- Applications embedding or invoking Aspell for spell checking
Discovery Timeline
- 2026-10-06 - CVE-2026-75820 published to the National Vulnerability Database
- 2026-10-06 - Last updated in NVD database
- Fix commit - 782ce94e4dc71eaec4ee1bd945eb3b9c47c5387d, scheduled for release in Aspell 0.60.8.3
Technical Details for CVE-2026-75820
Vulnerability Analysis
GNU Aspell maintains personal wordlists that users can extend with custom entries. During dictionary ingestion, WritableDict::add() serializes each word's length into a single-byte field before writing the entry into an in-memory buffer. The implementation does not validate that the length fits within an 8-bit value. When an entry is exactly 256, 512, or any other 256-byte multiple in length, the stored length truncates to zero. Subsequent allocation and copy operations rely on this zero-length value while the actual payload is still written in full, producing an out-of-bounds write and heap corruption. The resulting memory damage reliably crashes aspell and may corrupt adjacent allocator metadata.
Root Cause
The root cause is a numeric truncation error. The code narrows a word length value from a wider integer type into an 8-bit field without checking the source range. Because the on-disk representation uses a single length byte, any word whose length modulo 256 equals zero is silently recorded as empty while the raw bytes continue to be processed, violating the invariant between length metadata and payload size.
Attack Vector
Exploitation requires local access and user interaction. An attacker crafts a personal wordlist file containing at least one word with a length that is a multiple of 256 and delivers it to the victim through email, a shared drive, or a project repository. When the victim runs aspell and that wordlist is loaded, the truncation triggers heap corruption and the process aborts. Confidentiality is not affected, and integrity impact is limited to in-process memory. The outcome is a denial of service against the local Aspell process. See the CERT Poland advisory for technical context on the Aspell vulnerability cluster.
// No verified exploit code is published. See the upstream fix commit
// 782ce94e4dc71eaec4ee1bd945eb3b9c47c5387d for the corrected length handling.
Detection Methods for CVE-2026-75820
Indicators of Compromise
- Unexpected crashes of the aspell binary with heap corruption signatures in dmesg or coredumps.
- Personal wordlist files in user home directories containing single tokens of 256 bytes or more.
- Abnormal SIGABRT or SIGSEGV termination of processes invoking Aspell for spell checking.
Detection Strategies
- Scan personal wordlist paths such as ~/.aspell.*.pws for tokens whose length is a multiple of 256.
- Monitor process telemetry for Aspell crashes correlated with recently modified wordlist files.
- Use software composition analysis to identify applications bundling Aspell versions prior to 0.60.8.3.
Monitoring Recommendations
- Alert on new or modified .pws personal dictionary files delivered through email gateways or file shares.
- Collect coredumps from Aspell processes and inspect for glibc heap integrity errors.
- Track package inventory for distributions shipping vulnerable aspell builds and flag outdated installs.
How to Mitigate CVE-2026-75820
Immediate Actions Required
- Upgrade GNU Aspell to version 0.60.8.3 or later once released by your distribution.
- Remove or quarantine untrusted personal wordlist files received from external sources.
- Advise users not to execute aspell against wordlists supplied by unknown senders.
Patch Information
The upstream fix is applied in commit 782ce94e4dc71eaec4ee1bd945eb3b9c47c5387d and will ship in GNU Aspell 0.60.8.3. The patch corrects the length handling in WritableDict::add() so that oversized words are rejected or encoded safely instead of being truncated into a single byte. Refer to the Aspell project website for release availability and distribution maintainers' backports.
Workarounds
- Validate personal wordlist contents before use by rejecting any token longer than 255 bytes.
- Restrict Aspell usage to vetted dictionaries managed by administrators.
- Run Aspell under sandboxed accounts to limit the blast radius of heap corruption crashes.
# Quick check for oversized tokens in personal wordlists
awk '{ if (length($0) % 256 == 0 && length($0) > 0) print FILENAME":"NR":"length($0) }' ~/.aspell.*.pws
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

