Vulnerability Details : 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 string, as demonstrated by the gplotRead and ptaReadStream functions.
Vulnerability category: OverflowMemory CorruptionDenial of service
Exploit prediction scoring system (EPSS) score for CVE-2018-7186
Probability of exploitation activity in the next 30 days: 0.90%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 81 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2018-7186
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2018-7186
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-7186
-
https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a
Security fixes: expect final changes for release 1.75.3. · DanBloomberg/leptonica@ee301cb · GitHubPatch;Third Party Advisory
-
https://bugs.debian.org/890548
#890548 - leptonlib: CVE-2018-7186: Stack buffer overflows - Debian Bug report logsThird Party Advisory
-
https://lists.debian.org/debian-lts/2018/02/msg00054.html
Re: upload leptonlibMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html
[SECURITY] [DLA 1302-1] leptonlib security updateMailing List;Third Party Advisory
Products affected by CVE-2018-7186
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:*