Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-7186

published

leptonica: Stack-based buffer overflows in gplotRead() and ptaReadStream() when parsing crafted files can lead to denial of service

Title from Red Hat VEX

Published
16 Feb 2018, 00:00:00 UTC
Updated
05 Aug 2024, 06:24:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Debian wheezy leptonlib Advisory build 1.69-3.1+deb7u2 DLA-1302-1
SUSE / openSUSE openSUSE-Tumbleweed leptonica-develaarch64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
Ubuntu esm leptonica-progs Advisory build 1.70.1-1ubuntu0.1~esm1 USN-4819-1
SUSE / openSUSE openSUSE-Tumbleweed leptonica-develppc64le Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed leptonica-devels390x Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed leptonica-develx86_64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed leptonica-toolsaarch64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
Show 16 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed leptonica-toolsppc64le Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed leptonica-toolss390x Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed leptonica-toolsx86_64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5aarch64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5ppc64le Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5s390x Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5x86_64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5-32bitaarch64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5-32bitppc64le Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5-32bits390x Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
SUSE / openSUSE openSUSE-Tumbleweed liblept5-32bitx86_64 Advisory build 1.80.0-1.9 OPENSUSE-SU-2024:10914-1
Ubuntu esm leptonlib Advisory build 1.70.1-1ubuntu0.1~esm1 USN-4819-1
Ubuntu esm liblept4 Advisory build 1.70.1-1ubuntu0.1~esm1 USN-4819-1
Ubuntu xenial leptonica-progs Advisory build 1.73-1ubuntu0.1~esm1 USN-4819-1
Ubuntu xenial leptonlib Advisory build 1.73-1ubuntu0.1~esm1 USN-4819-1
Ubuntu xenial liblept5 Advisory build 1.73-1ubuntu0.1~esm1 USN-4819-1

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

5

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
18c69998fde5ebd2526ca51e24dd7db780e0367e8156f026c78283209db066f5
Ingested
23 Sep 2026, 07:45:05 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected