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% (83rd 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% (83rd 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-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.