CVE-2018-7186: Buffer Overflow

Published Feb 16, 2018
·
Updated

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.

Affected Software

2 affected components
Leptonica Leptonica<1.75.3
Debian Debian Linux=7.0

Event History

Feb 16, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:29 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-7186?

CVE-2018-7186 has a high severity due to its potential to cause a stack-based buffer overflow, leading to denial of service.

2

How do I fix CVE-2018-7186?

To fix CVE-2018-7186, upgrade to Leptonica version 1.75.3 or later.

3

What software is affected by CVE-2018-7186?

CVE-2018-7186 affects Leptonica versions prior to 1.75.3 and Debian 7.0.

4

What action can remote attackers perform through CVE-2018-7186?

Remote attackers can exploit CVE-2018-7186 to execute a stack-based buffer overflow.

5

Is there a known workaround for CVE-2018-7186?

There are no known workarounds for CVE-2018-7186; the recommended solution is to update the affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203