Ojuju Advisory
DEBIAN-CVE-2018-7186 Also known as: CVE-2018-7186
Summary The record has no summary.
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.
Severity Critical Basis: CVSS v3 score 9.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Dates Published 2018-02-16 16:29 UTC Modified 2026-10-23 18:03 UTC
Affected packages and fixes leptonlib
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1.75.3-2 (ecosystem)
Fixed versions 1.75.3-2
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
leptonlib
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1.75.3-2 (ecosystem)
Fixed versions 1.75.3-2
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
leptonlib
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1.75.3-2 (ecosystem)
Fixed versions 1.75.3-2
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →