Buffer Overflow Vulnerability in Leptonica Affected by Long Input Strings
CVE-2018-7186
9.8CRITICAL
What is CVE-2018-7186?
Leptonica, a library widely used for image processing, contains a significant vulnerability that arises from the lack of character limit enforcement in the format arguments of its fscanf and sscanf functions. This oversight allows remote attackers to exploit these functions, potentially leading to a denial of service via stack-based buffer overflow. The issue has been identified within functions such as gplotRead and ptaReadStream, where excessive input length can disrupt normal operations. It is crucial for users of versions prior to 1.75.3 to implement the latest security updates to mitigate any risks associated with this vulnerability.
