Skip to main content
Vulnerability Database/CVE-2026-75819

CVE-2026-75819: GNU Aspell Information Disclosure Flaw

CVE-2026-75819 is an out-of-bounds read flaw in GNU Aspell that exposes heap memory through crafted dictionary files. Attackers can exploit this to disclose sensitive data or crash the application. This article covers technical details, affected versions, potential impact, and available mitigation strategies.

Published:

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-75819 Overview

CVE-2026-75819 is an out-of-bounds read vulnerability in GNU Aspell, affecting the ReadOnlyDict::load() function in readonly_ws.cpp. When Aspell loads a binary .rws dictionary file, it treats offset fields from the file header as byte indices into a heap buffer without validating their bounds. An attacker who convinces a user to run aspell with a crafted dictionary file supplied through --master, --dict-dir, or configuration options can trigger heap memory disclosure or an application crash. The issue is tracked under [CWE-125] and was addressed in commit 941953b25031bc9104e83f58e138a664b8dedc3f, scheduled for release in version 0.60.8.3.

Critical Impact

Loading a malicious .rws dictionary file can leak heap memory contents or crash the Aspell process, resulting in denial of service.

Affected Products

  • GNU Aspell versions prior to 0.60.8.3
  • Applications and workflows invoking aspell with user-supplied dictionary paths
  • Downstream distributions packaging vulnerable Aspell builds

Discovery Timeline

  • 2026-10-06 - CVE CVE-2026-75819 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-75819

Vulnerability Analysis

The flaw resides in ReadOnlyDict::load() within readonly_ws.cpp, the routine responsible for mapping Aspell's binary read-only word store (.rws) format into memory. The function reads header fields that describe offsets into the dictionary payload and uses them directly as indices into a heap-allocated buffer. Because these offsets originate from attacker-controlled file data, a crafted header can direct reads past the end of the allocated region.

The resulting out-of-bounds read can either disclose adjacent heap memory to the invoking process or cause a segmentation fault when the dereferenced address is unmapped. Because aspell is often invoked by editors, mail clients, and build tooling, user interaction with a malicious dictionary path is a plausible precondition.

Root Cause

The root cause is missing bounds validation on untrusted offset fields parsed from the .rws header before they are used in pointer arithmetic. The loader trusts the dictionary file to be well-formed and does not verify that offsets fall within the mapped buffer size. This is a classic file-format parsing bug classified as [CWE-125] Out-of-bounds Read.

Attack Vector

Exploitation requires local access and user interaction. The attacker must induce the victim to invoke aspell against a crafted dictionary file, typically by supplying the path through the --master option, the --dict-dir option, or an Aspell configuration file read at startup. No elevated privileges are required of the attacker, and the vulnerability does not permit code execution, but memory contents from the Aspell process heap may be exposed to any output channel the attacker can observe.

See the CERT Polska advisory and the Aspell project site for additional context on the dictionary file format and loader behavior.

Detection Methods for CVE-2026-75819

Indicators of Compromise

  • Unexpected .rws files appearing in user-writable directories such as /tmp, home directories, or shared document stores.
  • Crashes of the aspell process referencing ReadOnlyDict::load in stack traces or coredumps.
  • Invocations of aspell with --master or --dict-dir pointing to non-standard paths.

Detection Strategies

  • Monitor process execution telemetry for aspell invocations referencing dictionary paths outside system-managed locations such as /usr/lib/aspell or /usr/share/aspell.
  • Alert on aspell process termination with signals SIGSEGV or SIGBUS, which may indicate exploitation attempts or crash-based denial of service.
  • Inspect configuration files such as ~/.aspell.conf and per-application Aspell configs for recently modified master or dict-dir entries.

Monitoring Recommendations

  • Record file-creation events for .rws files in writable directories and correlate with subsequent aspell executions.
  • Collect coredumps from spell-checker crashes and retain them for forensic review.
  • Track package versions of Aspell across the fleet to identify hosts still running builds prior to 0.60.8.3.

How to Mitigate CVE-2026-75819

Immediate Actions Required

  • Upgrade GNU Aspell to version 0.60.8.3 or later as soon as vendor packages become available.
  • Audit systems for untrusted .rws dictionary files and remove any that are not sourced from a trusted package or distribution.
  • Restrict write access to directories referenced by --dict-dir and system Aspell configuration files.

Patch Information

The vulnerability is fixed in upstream commit 941953b25031bc9104e83f58e138a664b8dedc3f, which is scheduled for inclusion in GNU Aspell version 0.60.8.3. Downstream Linux distributions will ship backported patches in their respective security update channels. Monitor your distribution's advisory feed and the Aspell project site for release availability.

Workarounds

  • Do not run aspell against dictionary files received from untrusted sources or shared network locations.
  • Enforce strict file permissions on ~/.aspell.conf and system-wide Aspell configuration to prevent attacker modification of master or dict-dir entries.
  • Where feasible, run spell-checking workflows under a sandbox such as bubblewrap or firejail to constrain information disclosure impact.
bash
# Verify installed Aspell version and inspect configuration sources
aspell --version
aspell dump config | grep -E '^(master|dict-dir)'

# Remove or quarantine untrusted dictionary files
find / -name '*.rws' -not -path '/usr/*' -ls

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.