cve.bz

CVE-2018-18311 Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalEPSS 12%Fix available

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

On this page
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.

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
12% (unchanged from 12% a week ago; 12% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
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-18311 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18311?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18311?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-18311 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
perl:perlfrom 5.28.0 before 5.28.1
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux8.0
debian:debian_linux9.0
redhat:openshift_container_platform3.11
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux7.6
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus7.6
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0
apple:mac_os_xbefore 10.14.4
fedoraproject:fedora29
mcafee:web_gatewayfrom 7.7.2 before 7.7.2.21
mcafee:web_gatewayfrom 7.8.2 before 7.8.2.8
mcafee:web_gatewayfrom 8.0.0 before 8.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8perl5.20.2-3+deb8u12DLA-1601-1
Debian9perl5.24.1-3+deb9u5DSA-4347-1
Debian12, 13, 14perl5.28.1-1DEBIAN-CVE-2018-18311
Ubuntu14.04:LTSperl5.18.2-2ubuntu1.7UBUNTU-CVE-2018-18311 USN-3834-1
Ubuntu16.04:LTSperl5.22.1-9ubuntu0.6UBUNTU-CVE-2018-18311 USN-3834-1
Ubuntu18.04:LTSperl5.26.1-6ubuntu0.3UBUNTU-CVE-2018-18311 USN-3834-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl, perl-libs, perl-devel and 3 more4:5.16.3-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-CPAN0:1.9800-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-ExtUtils-CBuilder1:0.28.2.6-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-ExtUtils-Embed0:1.30-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-ExtUtils-Install0:1.58-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-IO-Zlib1:1.10-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-Locale-Maketext-Simple1:0.21-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-Module-CoreList1:2.76.02-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-Module-Loaded1:0.08-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-Object-Accessor1:0.42-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-Package-Constants1:0.02-294.el7_6RHSA-2019:0109
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreperl-Pod-Escapes1:1.04-294.el7_6RHSA-2019:0109
173 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Enterprise Storage 5, HPE Helion OpenStack 8 and 14 moreperl5.18.2-12.20.1SUSE-SU-2019:2264-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Development Tools 15perl5.26.1-7.6.1SUSE-SU-2018:4187-1
openSUSETumbleweedperl5.34.0-1.1openSUSE-SU-2024:11158-1
Alpinev3.6perl5.24.4-r2ALPINE-CVE-2018-18311
Alpinev3.7, v3.8, v3.9 and 15 moreperl5.26.3-r0ALPINE-CVE-2018-18311

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 · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is present in versions of perl included with Red Hat Virtualization Hypervisor and Management Appliance, however it is not exposed in any meaningful way. Perl is only included in these images as a dependency of components which do not manipulate ENV, and are not exposed to user input. A future update may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7perl-4:5.16.3-294.el7_6Fixed 2019-01-21RHSA-2019:0109
Red Hat Enterprise Linux 7.3 Advanced Update Supportperl-4:5.16.3-291.el7_3.1Fixed 2019-08-07RHSA-2019:2400
Red Hat Enterprise Linux 7.3 Telco Extended Update Supportperl-4:5.16.3-291.el7_3.1Fixed 2019-08-07RHSA-2019:2400
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutionsperl-4:5.16.3-291.el7_3.1Fixed 2019-08-07RHSA-2019:2400
Red Hat Enterprise Linux 7.4 Extended Update Supportperl-4:5.16.3-292.el7_4.1Fixed 2019-07-30RHSA-2019:1942
Red Hat Enterprise Linux 7.5 Extended Update Supportperl-4:5.16.3-292.el7_5.1Fixed 2019-07-16RHSA-2019:1790
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 Enterprise Linux 5perlWill not fix
Red Hat Enterprise Linux 6perlWill not fix
Red Hat Enterprise Linux 8perlNot affected
Red Hat Enterprise Linux 8perl:5.24/perlNot affected
Red Hat OpenShift Enterprise 3perlNot affected
Red Hat Virtualization 4redhat-virtualization-hostWill not fix
Red Hat Virtualization 4rhvm-applianceWill not fix
8 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-18311.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON