CVE-2018-18312: Buffer Overflow

Published Nov 5, 2018
·
Updated

A flaw was found in Perl versions 5.18 through 5.26. A Heap-buffer-overflow write / regnode overrun

Other sources

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

— Launchpad

Affected Software

38 affected componentsFixes available
redhat/perl<5.26.3
5.26.3
redhat/perl<5.28.1
5.28.1
Perl Perl<5.26.3
Perl Perl>=5.28.0<5.28.1
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
Debian Debian Linux=9.0
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
NetApp E-Series SANtricity OS Controller>=11.0<=11.40
NetApp Snap Creator Framework
NetApp Snapcenter
NetApp Snapdrive Unix
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
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.24.4-r2
5.24.4-r2
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0
alpine/perl<5.26.3-r0
5.26.3-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/perl to a version that resolves this vulnerability.

    Fixed in 5.26.3
  2. Upgrade

    Upgrade redhat/perl to a version that resolves this vulnerability.

    Fixed in 5.28.1
  3. Upgrade

    Upgrade debian/perl to a version that resolves this vulnerability.

    Fixed in 5.32.1-4+deb11u3Fixed in 5.32.1-4+deb11u4Fixed in 5.36.0-7+deb12u3Fixed in 5.36.0-7+deb12u2Fixed in 5.40.1-6Fixed in 5.40.1-7
  4. Upgrade

    Upgrade alpine/perl to a version that resolves this vulnerability.

    Fixed in 5.26.3-r0
  5. Upgrade

    Upgrade alpine/perl to a version that resolves this vulnerability.

    Fixed in 5.24.4-r2
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.26.3
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.28.1

Event History

Nov 5, 2018
Data Sourced
10:39 PM
DescriptionSeverityAffected Software
Nov 29, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Dec 5, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via OSV·10:29 PM
DescriptionSeverityAffected Software
Jul 15, 2020
Data Sourced
03:15 AM
Weakness
Feb 16, 2021
Data Sourced
via Red Hat·10:48 PM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·02:55 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
02:55 AM
Affected Software
Nov 21, 2024
Updated
via NVD·03:55 AM
RemedyAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this vulnerability?

The vulnerability ID of this vulnerability is CVE-2018-18312.

2

What is the severity level of CVE-2018-18312?

The severity level of CVE-2018-18312 is critical.

3

What is the affected software for CVE-2018-18312?

The affected software for CVE-2018-18312 includes Perl versions before 5.26.3 and 5.28.0 before 5.28.1.

4

How can I fix CVE-2018-18312?

To fix CVE-2018-18312, it is recommended to update Perl to version 5.26.3 or 5.28.1.

5

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

You can find more information about CVE-2018-18312 on the following references: [1] [2]

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