Vulnerabilities · 2018 · Leptonica
CVE-2018-7186
Leptonica vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Leptonica, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Leptonica runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a · Patch
- bugs.debian.org/890548 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/03/msg00005.html · Third Party Advisory
- lists.debian.org/debian-lts/2018/02/msg00054.html · Third Party Advisory
- security.gentoo.org/glsa/202312-01
- nvd.nist.gov/vuln/detail/CVE-2018-7186
- cve.org/CVERecord?id=CVE-2018-7186
More vulnerabilities in Leptonica products
CVE-2022-38266CVE-2020-36281CVE-2020-36280CVE-2020-36279CVE-2020-36278CVE-2020-36277CVE-2018-7442CVE-2018-7441All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.