Out-of-bounds read in hunspell - CVE-2019-16707

 

Out-of-bounds read in hunspell - CVE-2019-16707

Published: June 25, 2020 / Updated: August 23, 2022


Vulnerability identifier: #VU29282
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-16707
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Install update from vendor's website.

hunspell - update to 1.7.1
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

Related Security Bulletins