SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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 possibly have unspecified other impact via a long…

CRITICAL 9.8EPSS 3.40%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (3.40%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.0
9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.40% probability · 88th percentile
CISA KEV
Not listed
Weakness
CWE-787
Affected
leptonica/leptonica · debian/debian linux
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.