Buffer Overflow Vulnerability in Leptonica Affected by Long Input Strings
CVE-2018-7186

9.8CRITICAL

Key Information:

Vendor

Leptonica

Status
Vendor
CVE Published:
16 February 2018

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.

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.