CWE
22
Advisory Published
Updated

CVE-2018-7442: Path Traversal

First published: Fri Feb 23 2018(Updated: )

An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Leptonica<=1.75.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2018-7442?

    CVE-2018-7442 is classified as a moderate severity vulnerability due to its potential for path traversal and arbitrary file overwrite.

  • How do I fix CVE-2018-7442?

    To fix CVE-2018-7442, upgrade Leptonica to version 1.75.4 or later, where the vulnerability is addressed.

  • What types of attacks can exploit CVE-2018-7442?

    CVE-2018-7442 can be exploited via specially crafted inputs that include '/' characters in the gplot rootname argument.

  • Which versions of Leptonica are affected by CVE-2018-7442?

    CVE-2018-7442 affects Leptonica versions up to and including 1.75.3.

  • Is CVE-2018-7442 a remote or local vulnerability?

    CVE-2018-7442 is primarily a local vulnerability as it requires an attacker to have access to the software inputs to exploit the flaw.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203