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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-02-16T00:00:00

Updated: 2024-08-05T06:24:11.501Z

Reserved: 2018-02-16T00:00:00

Link: CVE-2018-7186

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-02-16T16:29:00.160

Modified: 2024-11-21T04:11:45.120

Link: CVE-2018-7186

cve-icon Redhat

No data.