Out-of-bounds read in hunspell - CVE-2019-16707
Published: June 25, 2020 / Updated: August 23, 2022
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information or perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary condition within the SuggestMgr::leftcommonsubstring() function in suggestmgr.cxx. A remote attacker can trigger an out-of-bounds read error and read contents of memory on the system or perform a denial of service (DoS) attack.
Affected software
hunspell (Alpine package)
hunspell (Red Hat package)
hunspell
mingw-hunspell
hunspell-debuginfo
hunspell-debugsource
hunspell-devel
hunspell-help
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Slackware Linux
Opensuse
openEuler
Fedora
How to mitigate CVE-2019-16707
hunspell (Alpine package) - update to 1.6.2-r2
hunspell (Red Hat package) - update to 1.3.2-16.el7
hunspell - addressed in versions 1.7.0-4.fc30, 1.7.0-4.fc31
mingw-hunspell - addressed in versions 1.7.0-6.fc30, 1.7.0-6.fc31
hunspell - update to 1.7.0-7
hunspell-debuginfo - update to 1.7.0-7
hunspell-debugsource - update to 1.7.0-7
hunspell-devel - update to 1.7.0-7
hunspell-help - update to 1.7.0-7
hunspell - update to 1.7.1
External References
- https://github.com/butterflyhack/hunspell-crash
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/24NTBHK2QNYKSBMJI34WEU5MHS3H2FAI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2YOYFI36IWKABNGFTWXCH7TTGAFODH6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LNTSVWI4SWBQL6XMXNGEH7EAQ45WN63G/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UD4AJ4M74VT3I6L37E4P5DNYZYBZIOVM/
- https://github.com/hunspell/hunspell/releases/tag/v1.7.1
Related Security Bulletins
- Information disclosure in Hunspell
- Out-of-bounds read in hunspell (Alpine package)
- Red Hat Enterprise Linux 7 update for hunspell
- OpenSUSE Linux update for hunspell
- OpenSUSE Linux update for hunspell
- Slackware Linux update for hunspell
- openEuler update for hunspell
- Fedora 31 update for hunspell
- Fedora 30 update for hunspell
- Fedora 31 update for mingw-hunspell
- Fedora 30 update for mingw-hunspell