CVE-2018-18311: Buffer Overflow

Published Nov 5, 2018
·
Updated

A flaw was found in Perl versions 5.8.0 through 5.28. An Integer overflow leading to buffer overflow in Perlmysetenv function in util.c

Upstream Patch: https://github.com/Perl/perl5/commit/34716e2a6ee2af96078d62b065b7785c001194be

Other sources

Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

Launchpad

Perl. Multiple issues in Perl were addressed in this update.

Credit

Jakub Wilk, Jayakrishna Menon, Eiichi Tsukata

Affected Software

36 affected componentsFixes available
redhat/perl<5.29.1
5.29.1
redhat/perl<5.26.3
5.26.3
Apple macOS Mojave<10.14.4
10.14.4
Apple High Sierra
Apple Sierra
Perl Perl<5.26.3
Perl Perl>=5.28.0<5.28.1
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
Debian Debian Linux=8.0
Debian Debian Linux=9.0
NetApp E-Series SANtricity OS Controller
NetApp Snap Creator Framework
NetApp Snapcenter
NetApp Snapdriver Unix
redhat OpenShift Container Platform=3.11
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=7.4
redhat Enterprise Linux=7.5
redhat Enterprise Linux=7.6
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=7.0
Apple iOS and macOS<10.14.4
Fedoraproject Fedora=29
McAfee Web Gateway>=7.7.2<7.7.2.21
McAfee Web Gateway>=7.8.2<7.8.2.8
McAfee Web Gateway>=8.0.0<8.1.1
debian/perl
5.32.1-4+deb11u35.32.1-4+deb11u45.36.0-7+deb12u35.36.0-7+deb12u25.40.1-65.40.1-7

Event History

Nov 5, 2018
Data Sourced
via Red Hat·10:25 PM
DescriptionSeverityAffected Software
Dec 7, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·06:08 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·06:08 PM
DescriptionAffected Software
Data Sourced
via Launchpad·06:08 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-18311?

The severity of CVE-2018-18311 is critical with a severity value of 9.8.

2

What is affected by CVE-2018-18311?

Perl versions before 5.26.3 and 5.28.x before 5.28.1 are affected. Some Ubuntu, Debian, Red Hat, Apple macOS, and other products are also affected.

3

How does CVE-2018-18311 work?

CVE-2018-18311 is a buffer overflow vulnerability that can be triggered by a crafted regular expression, leading to invalid write operations.

4

How can I fix CVE-2018-18311?

Update Perl to version 5.26.3 or apply the relevant security patches provided by your Linux distribution or vendor.

5

Where can I find more information about CVE-2018-18311?

You can find more information about CVE-2018-18311 at the following references: [seclists.org](http://seclists.org/fulldisclosure/2019/Mar/49), [securityfocus.com](http://www.securityfocus.com/bid/106145), [securitytracker.com](http://www.securitytracker.com/id/1042181).

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