CVE-2018-7186
leptonlib - security update
9.8
CRITICAL
CVSS 3.1
EPSS 3.1%
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.
How to fix CVE-2018-7186
To remediate CVE-2018-7186, upgrade the affected package to a fixed version below.
- —upgrade to 1.75.3-2 or later
- —upgrade to 1.69-3.1+deb7u2 or later
Is CVE-2018-7186 being exploited?
Low — EPSS is 3.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.75.3-2
- from 0, < 1.69-3.1+deb7u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |