Skip to content

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...

MediumCVSS 5.9 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

24 packages: 16 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/aspell(Debian 12) = 0.60.8-4; = 0.60.8-5; = 0.60.8-6; = 0.60.8.1-1 +11 more No fix listed No fix yet
debian/aspell(Debian 13) = 0.60.8.1-4; = 0.60.8.1-5; = 0.60.8.1-6; = 0.60.8.2-1 +5 more No fix listed No fix yet
redhat/aspell(Red Hat rhel_els 6) All versions No fix listed No fix yet
ubuntu/aspell(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/aspell(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/aspell(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/aspell(Ubuntu 26.10) All versions No fix listed No fix yet
azure linux aspell(Azure Linux 3.0) < 0.60.8.1-2 0.60.8.1-2 Fixed
azure linux aspell(Azure Linux 4.0) < 12:0.60.8.3-9.azl4 12:0.60.8.3-9.azl4 Fixed
debian/aspell(Debian 14) < 0.60.8.2-4; = 0.60.8.1-4; = 0.60.8.1-5; = 0.60.8.1-6 +3 more 0.60.8.2-4 Fixed
redhat/aspell(Red Hat enterprise_linux 10.3) < 12:0.60.8.1-3.el10_3.1 12:0.60.8.1-3.el10_3.1 Fixed
redhat/aspell(Red Hat enterprise_linux 8) < 12:0.60.6.1-23.el8_10 12:0.60.6.1-23.el8_10 Fixed
redhat/aspell(Red Hat enterprise_linux 9 crb) < 12:0.60.8-9.el9_8 12:0.60.8-9.el9_8 Fixed
redhat/aspell(Red Hat enterprise_linux_eus 10.0) < 12:0.60.8.1-3.el10_0.1 12:0.60.8.1-3.el10_0.1 Fixed
redhat/aspell(Red Hat enterprise_linux_eus 10.2) < 12:0.60.8.1-3.el10_2.1 12:0.60.8.1-3.el10_2.1 Fixed
redhat/aspell(Red Hat rhel_aus 8.4) < 12:0.60.6.1-21.el8_4.1 12:0.60.6.1-21.el8_4.1 Fixed
redhat/aspell(Red Hat rhel_aus 8.6) < 12:0.60.6.1-22.el8_6.1 12:0.60.6.1-22.el8_6.1 Fixed
redhat/aspell(Red Hat rhel_e4s 8.8) < 12:0.60.6.1-22.el8_8.1 12:0.60.6.1-22.el8_8.1 Fixed
redhat/aspell(Red Hat rhel_els 7) < 12:0.60.6.1-9.el7_9.1 12:0.60.6.1-9.el7_9.1 Fixed
redhat/aspell(Red Hat rhel_eus 9.6 crb) < 12:0.60.8-8.el9_6.1 12:0.60.8-8.el9_6.1 Fixed
redhat/aspell(Red Hat rhel_eus_long_life 8.4) < 12:0.60.6.1-21.el8_4.1 12:0.60.6.1-21.el8_4.1 Fixed
redhat/aspell(Red Hat rhel_eus_long_life 8.6) < 12:0.60.6.1-22.el8_6.1 12:0.60.6.1-22.el8_6.1 Fixed
redhat/aspell(Red Hat rhel_tus 8.8) < 12:0.60.6.1-22.el8_8.1 12:0.60.6.1-22.el8_8.1 Fixed
gnuaspell/aspell = 0.60.8.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/aspell(Debian:12) All versions No fix listed
debian/aspell(Debian:14) < 0.60.8.2-4 0.60.8.2-4
debian/aspell(Debian:13) All versions No fix listed
gnuaspell/aspell = 0.60.8.2 No fix listed
debian/aspell(Debian:12) = 0.60.8-4 No fix listed
debian/aspell(Debian:12) = 0.60.8-5 No fix listed
debian/aspell(Debian:12) = 0.60.8-6 No fix listed
debian/aspell(Debian:12) = 0.60.8.1-1 No fix listed
debian/aspell(Debian:12) = 0.60.8.1-2 No fix listed
debian/aspell(Debian:12) = 0.60.8.1-3 No fix listed
debian/aspell(Debian:12) = 0.60.8.1-4 No fix listed
debian/aspell(Debian:12) = 0.60.8.1-5 No fix listed
debian/aspell(Debian:12) = 0.60.8.1-6 No fix listed
debian/aspell(Debian:12) = 0.60.8.2-1 No fix listed
debian/aspell(Debian:12) = 0.60.8.2-2 No fix listed
debian/aspell(Debian:12) = 0.60.8.2-3 No fix listed
debian/aspell(Debian:12) = 0.60.8.2-4 No fix listed
debian/aspell(Debian:12) = 0.60.8.2-5 No fix listed
debian/aspell(Debian:13) = 0.60.8.1-4 No fix listed
debian/aspell(Debian:13) = 0.60.8.1-5 No fix listed
debian/aspell(Debian:13) = 0.60.8.1-6 No fix listed
debian/aspell(Debian:13) = 0.60.8.2-1 No fix listed
debian/aspell(Debian:13) = 0.60.8.2-2 No fix listed
debian/aspell(Debian:13) = 0.60.8.2-3 No fix listed
debian/aspell(Debian:13) = 0.60.8.2-4 No fix listed
Show 27 more
ProductAffected versionsFixed in
debian/aspell(Debian:13) = 0.60.8.2-5 No fix listed
debian/aspell(Debian:14) = 0.60.8.1-4 No fix listed
debian/aspell(Debian:14) = 0.60.8.1-5 No fix listed
debian/aspell(Debian:14) = 0.60.8.1-6 No fix listed
debian/aspell(Debian:14) = 0.60.8.2-1 No fix listed
debian/aspell(Debian:14) = 0.60.8.2-2 No fix listed
debian/aspell(Debian:14) = 0.60.8.2-3 No fix listed
ubuntu/aspell(Ubuntu:22.04) All versions No fix listed
ubuntu/aspell(Ubuntu:24.04) All versions No fix listed
ubuntu/aspell(Ubuntu:26.04) All versions No fix listed
ubuntu/aspell(Ubuntu:26.10) All versions No fix listed
redhat/aspell(Red Hat:enterprise_linux:10.3) < 12:0.60.8.1-3.el10_3.1 12:0.60.8.1-3.el10_3.1
redhat/aspell(Red Hat:enterprise_linux_eus:10.0) < 12:0.60.8.1-3.el10_0.1 12:0.60.8.1-3.el10_0.1
redhat/aspell(Red Hat:enterprise_linux_eus:10.2) < 12:0.60.8.1-3.el10_2.1 12:0.60.8.1-3.el10_2.1
redhat/aspell(Red Hat:rhel_els:7) < 12:0.60.6.1-9.el7_9.1 12:0.60.6.1-9.el7_9.1
redhat/aspell(Red Hat:enterprise_linux:8) < 12:0.60.6.1-23.el8_10 12:0.60.6.1-23.el8_10
redhat/aspell(Red Hat:rhel_aus:8.4) < 12:0.60.6.1-21.el8_4.1 12:0.60.6.1-21.el8_4.1
redhat/aspell(Red Hat:rhel_eus_long_life:8.4) < 12:0.60.6.1-21.el8_4.1 12:0.60.6.1-21.el8_4.1
redhat/aspell(Red Hat:rhel_aus:8.6) < 12:0.60.6.1-22.el8_6.1 12:0.60.6.1-22.el8_6.1
redhat/aspell(Red Hat:rhel_eus_long_life:8.6) < 12:0.60.6.1-22.el8_6.1 12:0.60.6.1-22.el8_6.1
redhat/aspell(Red Hat:rhel_tus:8.8) < 12:0.60.6.1-22.el8_8.1 12:0.60.6.1-22.el8_8.1
redhat/aspell(Red Hat:rhel_e4s:8.8) < 12:0.60.6.1-22.el8_8.1 12:0.60.6.1-22.el8_8.1
redhat/aspell(Red Hat:enterprise_linux:9::crb) < 12:0.60.8-9.el9_8 12:0.60.8-9.el9_8
redhat/aspell(Red Hat:rhel_eus:9.6::crb) < 12:0.60.8-8.el9_6.1 12:0.60.8-8.el9_6.1
redhat/aspell(Red Hat:rhel_els:6) All versions No fix listed
azure linux aspell(Azure Linux:3.0) < 0.60.8.1-2 0.60.8.1-2
azure linux aspell(Azure Linux:4.0) < 12:0.60.8.3-9.azl4 12:0.60.8.3-9.azl4

References