Out-of-bounds Write The advisory has been revoked - it doesn't affect any version of package leptonica-devel  (opens in a new tab)


Threat Intelligence

EPSS
3.4% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-LEPTONICADEVEL-1329202
  • published26 Jul 2021
  • disclosed16 Feb 2018

Introduced: 16 Feb 2018

CVE-2018-7186  (opens in a new tab)
CWE-787  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream leptonica-devel package and not the leptonica-devel package as distributed by RHEL.

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.