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

[CVE catalog]

Severity
High · CVSS 7.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianaspellsid0.60.8.2-4fixed
Debianaspellforky0.60.8.2-3vulnerable
Debianaspelltrixie0.60.8.1-4vulnerable
Debianaspellbookworm0.60.8-4vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianaspellsourcesid0.60.8.2-4not yet assignedNot reported[1150801]
Debianaspellsourceforky(unfixed)not yet assignedNot reported[1150801]
Debianaspellsourcetrixie(unfixed)not yet assignedNot reported[1150801]
Debianaspellsourcebookworm(unfixed)not yet assignedNot reported[1150801]

[Debian bug #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 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

    • 0.60.8-4+b1 · arm64 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

  • [aspell-doc]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8-4 · all · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

    • 0.60.8-4 · all · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

  • [libaspell15]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8-4+b1 · amd64 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

    • 0.60.8-4+b1 · arm64 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

  • [libaspell-dev]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8-4+b1 · amd64 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

    • 0.60.8-4+b1 · arm64 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

  • [libpspell-dev]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8-4+b1 · amd64 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

    • 0.60.8-4+b1 · arm64 · bookworm

      Affected

      nvd · aspell · debian · bookworm; nvd · aspell · debian · 12

[Debian 13 (Trixie)]

  • [aspell]Affected
    Details (2)
    • 0.60.8.1-4 · amd64 · trixie

      Affected

      nvd · aspell · debian · 13

    • 0.60.8.1-4 · arm64 · trixie

      Affected

      nvd · aspell · debian · 13

  • [aspell-doc]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8.1-4 · all · trixie

      Affected

      nvd · aspell · debian · 13

    • 0.60.8.1-4 · all · trixie

      Affected

      nvd · aspell · debian · 13

  • [libaspell15]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8.1-4 · amd64 · trixie

      Affected

      nvd · aspell · debian · 13

    • 0.60.8.1-4 · arm64 · trixie

      Affected

      nvd · aspell · debian · 13

  • [libaspell-dev]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8.1-4 · amd64 · trixie

      Affected

      nvd · aspell · debian · 13

    • 0.60.8.1-4 · arm64 · trixie

      Affected

      nvd · aspell · debian · 13

  • [libpspell-dev]Affected

    Source package: [aspell]

    Details (2)
    • 0.60.8.1-4 · amd64 · trixie

      Affected

      nvd · aspell · debian · 13

    • 0.60.8.1-4 · arm64 · trixie

      Affected

      nvd · aspell · debian · 13

Observed:

References