Skip to content

CVE-2018-7186 Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which allows remote attackers to cause a denial of service (stack-based buffer overflow) or...

CriticalCVSS 9.8 EPSS 3.4%
Published
Updated
Exploit status
No public exploit known

Description

Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string, as demonstrated by the gplotRead and ptaReadStream functions.

Affected products

ProductAffected versionsFixed in
debian/leptonlib(Debian:12) < 1.75.3-2 1.75.3-2
debian/leptonlib(Debian:13) < 1.75.3-2 1.75.3-2
debian/leptonlib(Debian:14) < 1.75.3-2 1.75.3-2
leptonica < 1.75.3 1.75.3
debian linux = 7.0 No fix listed

References