
CVE catalog
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 it
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.21% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | aspell | sid | 0.60.8.2-4 | fixed |
| Debian | aspell | forky | 0.60.8.2-3 | vulnerable |
| Debian | aspell | trixie | 0.60.8.1-4 | vulnerable |
| Debian | aspell | bookworm | 0.60.8-4 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | aspell | source | sid | 0.60.8.2-4 | not yet assigned | Not reported | [1150801] |
| Debian | aspell | source | forky | (unfixed) | not yet assigned | Not reported | [1150801] |
| Debian | aspell | source | trixie | (unfixed) | not yet assigned | Not reported | [1150801] |
| Debian | aspell | source | bookworm | (unfixed) | not yet assigned | Not reported | [1150801] |
Notes
[trixie] aspell: Minor issue [bookworm] aspell: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [aspell]Affected
Source package: [aspell]
Details (2)
0.60.8-4+b1· amd64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
0.60.8-4+b1· arm64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
- [aspell-doc]Affected
Source package: [aspell]
Details (2)
0.60.8-4· all · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
0.60.8-4· all · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
- [libaspell15]Affected
Source package: [aspell]
Details (2)
0.60.8-4+b1· amd64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
0.60.8-4+b1· arm64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
- [libaspell-dev]Affected
Source package: [aspell]
Details (2)
0.60.8-4+b1· amd64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
0.60.8-4+b1· arm64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
- [libpspell-dev]Affected
Source package: [aspell]
Details (2)
0.60.8-4+b1· amd64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
0.60.8-4+b1· arm64 · bookwormAffected
nvd · aspell · debian · bookworm; nvd · aspell · debian · 12
[Debian 13 (Trixie)]
- [aspell]Affected
Details (2)
0.60.8.1-4· amd64 · trixieAffected
nvd · aspell · debian · 13
0.60.8.1-4· arm64 · trixieAffected
nvd · aspell · debian · 13
- [aspell-doc]Affected
Source package: [aspell]
Details (2)
0.60.8.1-4· all · trixieAffected
nvd · aspell · debian · 13
0.60.8.1-4· all · trixieAffected
nvd · aspell · debian · 13
- [libaspell15]Affected
Source package: [aspell]
Details (2)
0.60.8.1-4· amd64 · trixieAffected
nvd · aspell · debian · 13
0.60.8.1-4· arm64 · trixieAffected
nvd · aspell · debian · 13
- [libaspell-dev]Affected
Source package: [aspell]
Details (2)
0.60.8.1-4· amd64 · trixieAffected
nvd · aspell · debian · 13
0.60.8.1-4· arm64 · trixieAffected
nvd · aspell · debian · 13
- [libpspell-dev]Affected
Source package: [aspell]
Details (2)
0.60.8.1-4· amd64 · trixieAffected
nvd · aspell · debian · 13
0.60.8.1-4· arm64 · trixieAffected
nvd · aspell · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_12126-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-103658]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-103658]
- [https://security-tracker.debian.org/tracker/CVE-2026-103658]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-103658.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]