CVE-2018-7186
Last modified
CVE-2018-7186 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 3.47% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Leptonica | Leptonica | < 1.75.3 |
| Debian | Debian Linux | 7.0 |
References
- https://bugs.debian.org/890548Third Party Advisory
- https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99aPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/03/msg00005.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts/2018/02/msg00054.htmlMailing List, Third Party Advisory
- https://bugs.debian.org/890548Third Party Advisory
- https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99aPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/03/msg00005.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts/2018/02/msg00054.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-7186?
How severe is CVE-2018-7186?
How do I fix CVE-2018-7186?
Are you affected by CVE-2018-7186?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
