cve.bz

CVE-2018-18314

9.8 criticalExploit referenceEPSS 6.1%Fix available

Critical (9.8). EPSS 6.1% estimated probability of exploitation activity in the next 30 days.

On this page
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
6.1% (unchanged from 6.1% a week ago; 6.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-18314 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18314?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18314?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-18314 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
perl:perlbefore 5.26.3
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux9.0
netapp:e-series_santricity_os_controllerfrom 11.0 through 11.40
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux7.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9perl5.24.1-3+deb9u5DSA-4347-1
Debian12, 13, 14perl5.28.0-3DEBIAN-CVE-2018-18314
Ubuntu14.04:LTSperl5.18.2-2ubuntu1.7USN-3834-1
Ubuntu16.04:LTSperl5.22.1-9ubuntu0.6UBUNTU-CVE-2018-18314 USN-3834-1
Ubuntu18.04:LTSperl5.26.1-6ubuntu0.3UBUNTU-CVE-2018-18314 USN-3834-1
Red Hathummingbird:1perl, perl-ph, perl-doc and 8 more0:5.42.2-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-AutoSplit, perl-AutoLoader0:5.74-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-B0:1.89-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-Benchmark, perl-Hash-Util-FieldHash0:1.27-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-Class-Struct0:0.68-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-DBM_Filter0:0.07-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-Devel-Peek0:1.36-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-Devel-SelfStubber0:1.06-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-DynaLoader0:1.57-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-English, perl-autouse0:1.11-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-Errno0:1.38-524.1.hum1RHSA-2026:7604
Red Hathummingbird:1perl-ExtUtils-Constant0:0.25-524.1.hum1RHSA-2026:7604
116 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Development Tools 15perl5.26.1-7.6.1SUSE-SU-2018:4187-1
Alpinev3.6perl5.24.4-r2ALPINE-CVE-2018-18314
Alpinev3.7, v3.8, v3.9 and 15 moreperl5.26.3-r0ALPINE-CVE-2018-18314

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-perl524-perl-4:5.24.0-381.el6Fixed 2019-01-02RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-perl526-perl-4:5.26.3-405.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-perl524-perl-4:5.24.0-381.el7Fixed 2019-01-02RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-perl526-perl-4:5.26.3-405.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-perl526-perl-Module-CoreList-1:5.20181130-1.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-perl524-perl-4:5.24.0-381.el7Fixed 2019-01-02RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-perl526-perl-4:5.26.3-405.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-perl526-perl-Module-CoreList-1:5.20181130-1.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-perl524-perl-4:5.24.0-381.el7Fixed 2019-01-02RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-perl526-perl-4:5.26.3-405.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-perl526-perl-Module-CoreList-1:5.20181130-1.el7Fixed 2019-01-02RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-perl524-perl-4:5.24.0-381.el7Fixed 2019-01-02RHSA-2019:0010
Red Hat Hardened Imagesperl-main-0.02-524.1.hum1Fixed 2026-04-10RHSA-2026:7604
Red Hat Enterprise Linux 5perlNot affected
Red Hat Enterprise Linux 6perlNot affected
Red Hat Enterprise Linux 7perlNot affected
Red Hat Enterprise Linux 8perlNot affected
Red Hat Enterprise Linux 8perl:5.24/perlNot affected
Red Hat OpenShift Enterprise 3perlNot affected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-18314.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON