9.8crit
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…
Published 8 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.4%
percentile 89%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
3.40% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-787 Out-of-bounds Write
References
- lists.debian.org /debian-lts-announce/2018/03/msg00005.html · mailing-list, x_transferred
- github.com /DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a · x_transferred
- bugs.debian.org /890548 · x_transferred
- lists.debian.org /debian-lts/2018/02/msg00054.html · x_transferred
- security.gentoo.org /glsa/202312-01 · vendor-advisory, x_transferred
Sources
- CVE List: CVE-2018-7186
- NVD: CVE-2018-7186
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.