CWE
200
Advisory Published
Updated

CVE-2015-1418: Infoleak

First published: Mon Feb 05 2018(Updated: )

The do_ed_script function in pch.c in GNU patch through 2.7.6, and patch in FreeBSD 10.1 before 10.1-RELEASE-p17, 10.2 before 10.2-BETA2-p3, 10.2-RC1 before 10.2-RC1-p2, and 0.2-RC2 before 10.2-RC2-p1, allows remote attackers to execute arbitrary commands via a crafted patch file, because a '!' character can be passed to the ed program.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel=10.1
FreeBSD Kernel=10.2

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-2015-1418?

    CVE-2015-1418 has been classified as a high severity vulnerability due to its potential for remote code execution.

  • How do I fix CVE-2015-1418?

    You can fix CVE-2015-1418 by updating to a patched version of GNU patch or FreeBSD that addresses this vulnerability.

  • What systems are affected by CVE-2015-1418?

    CVE-2015-1418 affects GNU patch up to version 2.7.6 and specific versions of FreeBSD including 10.1 and 10.2.

  • What types of attacks can exploit CVE-2015-1418?

    An attacker can exploit CVE-2015-1418 by crafting a malicious patch file that sends arbitrary commands to be executed.

  • Is there a workaround for CVE-2015-1418 if I cannot update immediately?

    Currently, there are no known effective workarounds for CVE-2015-1418, so updating is strongly recommended.

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