CVEvulnerability

CVE-2018-7186

9.8 CRITICAL Published 2018-02-16 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-02-16
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-787

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.

Affected configurations

• leptonica leptonica (< 1.75.3) • debian debian linux 7.0

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References