{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-7186","published":"2018-02-16T16:29:00.160000Z","last_modified":"2026-06-17T02:02:45.863000Z","status":"Modified","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:*","part":"a","vendor":"leptonica","product":"leptonica","version_end_excluding":"1.75.3"},{"criteria":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"7.0"}],"cpes_truncated":false,"vendors":["leptonica","debian"],"products":["leptonica/leptonica","debian/debian_linux"],"epss":{"score":0.03401,"percentile":0.89633,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2018-7186/","html_en":"/en/cve/CVE-2018-7186/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-7186","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-7186"},"untrusted":{"vendor_name":"Leptonica","product_name":"Leptonica","desc_en":"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.","affected":[],"references":[{"url":"https://bugs.debian.org/890548","tags":["Third Party Advisory"]},{"url":"https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts/2018/02/msg00054.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202312-01","tags":[]}]}}