CVE-2026-103658
GNU Aspell 0.60.8.2 (first vulnerable version is not known) contains a heap-based buffer overflow write (CWE-122) in its read-only dictionary loader. String::reserve() in common/string.hpp computes its capacity check with a signed int ((int)s + 1), so a requested size of 0x7FFFFFFF wraps negative and the backing buffer is never grown. ReadOnlyDict::load() in modules/speller/default/readonly_ws.cpp passes the unvalidated 32-bit size fields from a .rws dictionary header into this path, so a crafted .rws file with a valid endian marker (12345678) and an oversized length field (e.g. lang_name_size = 0x7FFFFFFF) causes attacker-controlled data to be written out of bounds past an undersized heap allocation. An attacker who induces a victim to load a malicious dictionary — for example via aspell dump master <file> — can corrupt heap memory, resulting in denial of service and potentially code execution. Fixed in b830b6e and will be fixed in release 0.60.8.3.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | aspell | Fix pending | UBUNTU-CVE-2026-103658 | |
| Ubuntu 26.04 | aspell | Under investigation | UBUNTU-CVE-2026-103658 | |
| Ubuntu 24.04 | aspell | Under investigation | UBUNTU-CVE-2026-103658 | |
| Ubuntu 22.04 | aspell | Under investigation | UBUNTU-CVE-2026-103658 | |
| Ubuntu 20.04 | aspell | Fix pending | UBUNTU-CVE-2026-103658 | |
| Ubuntu 18.04 | aspell | Fix pending | UBUNTU-CVE-2026-103658 | |
| Ubuntu 16.04 | aspell | Fix pending | UBUNTU-CVE-2026-103658 | |
| Ubuntu 14.04 | aspell | Fix pending | UBUNTU-CVE-2026-103658 | |
| Debian 14 | aspell | Fixed | 0.60.8.2-4 | DEBIAN-CVE-2026-103658 |
| Debian 13 | aspell | Fix pending | DEBIAN-CVE-2026-103658 | |
| Debian 12 | aspell | Fix pending | DEBIAN-CVE-2026-103658 | |
| Red Hat Enterprise Linux 10 | aspell | Fixed | 12:0.60.8.1-3.el10_3.1 | RHSA-2026:98590 |
| Red Hat Enterprise Linux 10 | aspell-devel | Fixed | 12:0.60.8.1-3.el10_3.1 | RHSA-2026:98590 |
| Red Hat Enterprise Linux 9 | aspell | Fixed | 12:0.60.8-9.el9_8 | RHSA-2026:92458 |
| Red Hat Enterprise Linux 9 | aspell-devel | Fixed | 12:0.60.8-9.el9_8 | RHSA-2026:92458 |
| Red Hat Enterprise Linux 8 | aspell | Fixed | 12:0.60.6.1-23.el8_10 | RHSA-2026:92615 |
| Red Hat Enterprise Linux 8 | aspell-devel | Fixed | 12:0.60.6.1-23.el8_10 | RHSA-2026:92615 |
| Red Hat Enterprise Linux 6 | aspell | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | aspell-devel | Fix pending Affected | ||
| AlmaLinux 10 | aspell | Fixed | 12:0.60.8.1-3.el10_3.1 | ALSA-2026:98590 |
| AlmaLinux 10 | aspell-devel | Fixed | 12:0.60.8.1-3.el10_3.1 | ALSA-2026:98590 |
| AlmaLinux 9 | aspell | Fixed | 12:0.60.8-9.el9_8 | ALSA-2026:92458 |
| AlmaLinux 9 | aspell-devel | Fixed | 12:0.60.8-9.el9_8 | ALSA-2026:92458 |
| AlmaLinux 8 | aspell | Fixed | 12:0.60.6.1-23.el8_10 | ALSA-2026:92615 |
| AlmaLinux 8 | aspell-devel | Fixed | 12:0.60.6.1-23.el8_10 | ALSA-2026:92615 |
| Rocky Linux 10 | aspell | Fixed | 2:0.60.8.1-3.el10_3.1 | RLSA-2026:98590 |
| Rocky Linux 10 | aspell-devel | Fixed | 2:0.60.8.1-3.el10_3.1 | RLSA-2026:98590 |
| Rocky Linux 9 | aspell | Fixed | 2:0.60.8-9.el9_8 | RLSA-2026:92458 |
| Rocky Linux 8 | aspell | Fixed | 2:0.60.6.1-23.el8_10 | RLSA-2026:92615 |
What the vendor says
As published in the CVE record by Anthropic, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNU Aspell: affected: 0.60.8.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.