CVE-2018-7186

Summary

CVECVE-2018-7186
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-02-16 16:29:00 UTC
Updated2023-12-18 08:15:00 UTC
DescriptionLeptonica 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.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Application Leptonica Leptonica All All All All
Application Leptonica Leptonica All All All All

References

ReferenceSourceLinkTags
Security fixes: expect final changes for release 1.75.3. · DanBloomberg/leptonica@ee301cb · GitHub MISC github.com Patch, Third Party Advisory
Re: upload leptonlib MISC lists.debian.org Mailing List, Third Party Advisory
[SECURITY] [DLA 1302-1] leptonlib security update MLIST lists.debian.org Mailing List, Third Party Advisory
#890548 - leptonlib: CVE-2018-7186: Stack buffer overflows - Debian Bug report logs MISC bugs.debian.org Third Party Advisory
Leptonica: Multiple Vulnerabilities (GLSA 202312-01) — Gentoo security security.gentoo.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710802 Gentoo Linux Leptonica Multiple Vulnerabilities (GLSA 202312-01)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report