Stack-based buffer overflow in Leptonica - CVE-2018-7186

 

Stack-based buffer overflow in Leptonica - CVE-2018-7186

Published: March 20, 2018


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

Vulnerability details

The vulnerability allows a remote unauthenticated attacker to cause DoS condition on the target system.

The weakness exists in the gplotRead and ptaReadStream functions due to stack-based buffer overflow. A remote attacker can trigger memory corruption and cause the service to crash.

Affected software

Leptonica
Gentoo Linux
Fedora
mingw-leptonica
leptonica
media-libs/leptonica

How to mitigate CVE-2018-7186

Update to version 1.75.3.

mingw-leptonica - addressed in versions 1.74.4-3.fc26, 1.74.4-3.fc27, 1.74.4-4.fc26, 1.74.4-4.fc27
leptonica - addressed in versions 1.74.4-4.fc26, 1.74.4-4.fc27, 1.74.4-5.fc26, 1.74.4-5.fc27
media-libs/leptonica - update to 1.81.0

External References

Related Security Bulletins