CWE
787 119
Advisory Published
CVE Published
Updated

CVE-2018-6797: Buffer Overflow

First published: Wed Feb 21 2018(Updated: )

A flaw was found in Perl 5. A heap write overflow in regcomp.c file might be exploited when a perl program allows user input of patterns. A crafted regular expression can cause the heap buffer overflow, with control over the bytes written.

Credit: Brian Carpenter GwanYeong Kim Brian Carpenter cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Perl Perl>=5.18<=5.26
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Redhat Enterprise Linux Server=7.0
Redhat Enterprise Linux Server=7.3
Redhat Enterprise Linux Server=7.4
Redhat Enterprise Linux Server=7.5
Redhat Enterprise Linux Server=7.6
Redhat Enterprise Linux Workstation=6.0
Redhat Enterprise Linux Workstation=7.0
Apple macOS Mojave<10.14.1
10.14.1
Apple High Sierra
Apple Sierra
Apple macOS High Sierra<10.13.6
10.13.6
Apple El Capitan
redhat/perl<5.26.2
5.26.2
redhat/perl<5.24.4
5.24.4
debian/perl
5.32.1-4+deb11u3
5.32.1-4+deb11u1
5.36.0-7+deb12u1
5.38.2-5
5.40.0-6

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2018-6797?

    CVE-2018-6797 is a vulnerability in Perl 5.18 through 5.26 that allows a crafted regular expression to cause a heap-based buffer overflow.

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

    CVE-2018-6797 has a severity rating of 9.8, which is considered critical.

  • How does CVE-2018-6797 affect Perl?

    CVE-2018-6797 affects Perl versions 5.18 through 5.26.

  • Which software versions are affected by CVE-2018-6797?

    CVE-2018-6797 affects Perl versions 5.18 through 5.26 on various operating systems including Ubuntu, Debian, Red Hat, and macOS.

  • How can I fix CVE-2018-6797?

    To fix CVE-2018-6797, update Perl to version 5.22.1-9ubuntu0.3 for Ubuntu, 5.26.0-8ubuntu1.1 for Ubuntu Artful, or the respective fixed versions for other operating systems.

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