Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2018-7186 Details
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
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.debian.org/890548 | CVE | Third Party Advisory |
| https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a | CVE | PatchThird Party Advisory |
| https://lists.debian.org/debian-lts/2018/02/msg00054.html | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html | CVE | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202312-01 | CVE | |
| https://bugs.debian.org/890548 | [email protected] | Third Party Advisory |
| https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a | [email protected] | PatchThird Party Advisory |
| https://lists.debian.org/debian-lts/2018/02/msg00054.html | [email protected] | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html | [email protected] | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202312-01 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| leptonica leptonica | < 1.75.3 |
CPE
Remediation
| |
| debian debian linux | 7.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 18, 2023 | CVE Modified | [email protected] |
| Aug 24, 2020 | CWE Remap | [email protected] |
| Mar 14, 2018 | Initial Analysis | [email protected] |
| Mar 8, 2018 | CVE Modified | [email protected] |