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.0: 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/E:U/U:Clear
CVE-ID: CVE-2018-7186
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: DanBloomberg
Affected software:
Leptonica

Detailed vulnerability description

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.

How to mitigate CVE-2018-7186

Update to version 1.75.3.

Sources