VULNERABILITY INTELLIGENCE

CVE-2018-7186

CVSS score9.8 CRITICAL
EPSS probability3.40%
CISA KEVNot currently listed
Published2018-02-16
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • CWE-787: Out-of-bounds Write

Primary references