CVE-2018-7247
CVE-2018-7247 is a critical-severity vulnerability in Leptonica with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 2% (85th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Leptonica
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2018-7247?
- 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.
- How severe is CVE-2018-7247?
- CVE-2018-7247 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-7247 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (85th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-7247?
- CVE-2018-7247 affects Leptonica. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-7247?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2018-7247 published?
- CVE-2018-7247 was published on 2018-02-19 and last updated on 2026-06-17.
References
- https://github.com/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f
- https://security.gentoo.org/glsa/202312-01
Affected products (1)
- cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:*
More vulnerabilities in Leptonica
- CVE-2018-7440 — Critical (CVSS 9.8): An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function allows command injection via a…
- CVE-2018-7186 — Critical (CVSS 9.8): Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which…
- CVE-2018-7442 — Critical (CVSS 9.1): An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the…
- CVE-2018-3836 — High (CVSS 7.8): An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially…
- CVE-2020-36281 — High (CVSS 7.5): Leptonica before 1.80.0 allows a heap-based buffer over-read in pixFewColorsOctcubeQuantMixed in colorquant1.c.
- CVE-2020-36280 — High (CVSS 7.5): Leptonica before 1.80.0 allows a heap-based buffer over-read in pixReadFromTiffStream, related to tiffio.c.
All CVEs affecting Leptonica →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-133993 — Critical (CVSS 10.0): A security flaw has been discovered in D-Link DIR-600L 2.17b02. This affects the function FUN_0040efb0 of the file…
- CVE-2026-129354 — Critical (CVSS 10.0): A flaw has been found in D-Link DIR-600L 2.17b02. Affected by this issue is the function hnap_main of the file…
- CVE-2026-129353 — Critical (CVSS 10.0): A vulnerability was detected in D-Link DIR-600L 2.17/2.17b02. Affected by this vulnerability is the function…
- CVE-2026-129351 — Critical (CVSS 10.0): A security vulnerability has been detected in TRENDnet TEW-657BRM 1.00.1. This vulnerability affects the function…
- CVE-2026-123966 — Critical (CVSS 10.0): A vulnerability was determined in Tenda AC19 16.03.10.07. Affected by this issue is the function saveParentControlInfo…
- CVE-2026-120283 — Critical (CVSS 10.0): A vulnerability was identified in Linksys E8450 1.2.00.360516. Affected is the function strcpy of the file…