{"id":"CVE-2018-7186","state":"PUBLISHED","title":"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","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.","publishedAt":"2018-02-16T00:00:00.000Z","updatedAt":"2024-08-05T06:24:11.501Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html","https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a","https://bugs.debian.org/890548","https://lists.debian.org/debian-lts/2018/02/msg00054.html","https://security.gentoo.org/glsa/202312-01"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:00.684Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/7xxx/CVE-2018-7186.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-7186","state":"PUBLISHED","datePublished":"2018-02-16T00:00:00.000Z","dateUpdated":"2024-08-05T06:24:11.501Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-02-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html","name":"[debian-lts-announce] 20180307 [SECURITY] [DLA 1302-1] leptonlib security update","tags":["mailing-list"]},{"url":"https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a"},{"url":"https://bugs.debian.org/890548"},{"url":"https://lists.debian.org/debian-lts/2018/02/msg00054.html"},{"url":"https://security.gentoo.org/glsa/202312-01","name":"GLSA-202312-01","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-12-18T08:06:22.617Z"},"datePublic":"2018-02-16T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html","name":"[debian-lts-announce] 20180307 [SECURITY] [DLA 1302-1] leptonlib security update","tags":["mailing-list","x_transferred"]},{"url":"https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a","tags":["x_transferred"]},{"url":"https://bugs.debian.org/890548","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts/2018/02/msg00054.html","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202312-01","name":"GLSA-202312-01","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T06:24:11.501Z"}}]}}}