Buffer overflow in Leptonica - CVE-2018-7247

 

Buffer overflow in Leptonica - CVE-2018-7247

Published: March 20, 2018 / Updated: March 21, 2018


Vulnerability identifier: #VU11176
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7247
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote unauthenticated attacker to execute arbitrary code on the target system.

The weakness exists in the pixHtmlViewer function due to buffer overflow. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

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

How to mitigate CVE-2018-7247

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