What’s Vulnerable › Vulnerabilities
CVE-2018-7247
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-02-19 · updated 2026-06-17
- Weakness: CWE-119
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.
Affected products
- Leptonica: before 1.75.3 — fixed in 1.75.3
How to fix
Upgrade to a fixed version: Leptonica 1.75.3. Check the vendor advisory for mitigations.
References
- https://github.com/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f
- https://security.gentoo.org/glsa/202312-01
- https://github.com/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f
- https://security.gentoo.org/glsa/202312-01
Get alerted when CVE-2018-7247 or the next vulnerability affects your stack