CVE-2018-7247 json
An issue was discovered in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3.
published 2018-02-19 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18986
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
An issue was discovered in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3. Unsanitized input (rootname) can overflow a buffer, leading potentially to arbitrary code execution or possibly unspecified other impact.
Patch / fix
- leptonica leptonica 1.75.3
- leptonlib Debian 14, Debian 13, Debian 12 1.76.0-1
debian advisories DEBIAN-CVE-2018-7247
- leptonlib Ubuntu Pro 18.04 LTS 1.75.3-3ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-7247
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- leptonica openSUSE Tumbleweed 1.80.0-1.9
opensuse advisories openSUSE-SU-2024:10914-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-7247 updated cvss 3.3
leptonica: Unsanitized input in pixHtmlViewer in prog/htmlviewer.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.47% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f
third-party-advisory
-
security.gentoo.org
/glsa/202312-01
vendor-advisory
Sources
- CVE List CVE-2018-7247
- NVD CVE-2018-7247
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.