DEBIAN-CVE-2018-7186

Source
https://security-tracker.debian.org/tracker/CVE-2018-7186
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-7186.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2018-7186
Upstream
Published
2018-02-16T16:29:00Z
Modified
2025-09-30T03:54:23Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / leptonlib

Package

Name
leptonlib
Purl
pkg:deb/debian/leptonlib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.75.3-2

Ecosystem specific

{
    "urgency": "low"
}

Debian:12 / leptonlib

Package

Name
leptonlib
Purl
pkg:deb/debian/leptonlib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.75.3-2

Ecosystem specific

{
    "urgency": "low"
}

Debian:13 / leptonlib

Package

Name
leptonlib
Purl
pkg:deb/debian/leptonlib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.75.3-2

Ecosystem specific

{
    "urgency": "low"
}

Debian:14 / leptonlib

Package

Name
leptonlib
Purl
pkg:deb/debian/leptonlib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.75.3-2

Ecosystem specific

{
    "urgency": "low"
}