CVE-2018-7186
Published: 16 February 2018
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.
From the Ubuntu Security Team
It was discovered that Leptonica incorrectly handled input arguments. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.
Priority
Status
Package | Release | Status |
---|---|---|
leptonlib Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Not vulnerable
(1.75.3-2)
|
|
cosmic |
Not vulnerable
(1.75.3-2)
|
|
disco |
Not vulnerable
(1.75.3-2)
|
|
eoan |
Not vulnerable
(1.75.3-2)
|
|
focal |
Not vulnerable
(1.75.3-2)
|
|
groovy |
Not vulnerable
(1.75.3-2)
|
|
hirsute |
Not vulnerable
(1.75.3-2)
|
|
impish |
Not vulnerable
(1.75.3-2)
|
|
jammy |
Not vulnerable
(1.75.3-2)
|
|
trusty |
Released
(1.70.1-1ubuntu0.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Needs triage
|
|
xenial |
Released
(1.73-1ubuntu0.1~esm1)
Available with Ubuntu Pro |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |