CVEfocus › CVE database › CVE-2018-18311

CVE-2018-18311

CVSS 9.8 CriticalEPSS 11.7% (higher than 96% of CVEs)Published 2018-12-07Updated 2024-08-05Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 12% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
47Will not fix
26Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04perlFixed5.26.1-6ubuntu0.3UBUNTU-CVE-2018-18311
Ubuntu 16.04perlFixed5.22.1-9ubuntu0.6UBUNTU-CVE-2018-18311
Ubuntu 14.04perlFixed5.18.2-2ubuntu1.7UBUNTU-CVE-2018-18311
Debian 14perlFixed5.28.1-1DEBIAN-CVE-2018-18311
Debian 13perlFixed5.28.1-1DEBIAN-CVE-2018-18311
Debian 12perlFixed5.28.1-1DEBIAN-CVE-2018-18311
Red Hat Enterprise Linux 8perlNot affected
Red Hat Enterprise Linux 8perl-Attribute-HandlersNot affected
Red Hat Enterprise Linux 8perl-Devel-PeekNot affected
Red Hat Enterprise Linux 8perl-Devel-SelfStubberNot affected
Red Hat Enterprise Linux 8perl-ErrnoNot affected
Red Hat Enterprise Linux 8perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 8perl-ExtUtils-MiniperlNot affected
Red Hat Enterprise Linux 8perl-IONot affected
Red Hat Enterprise Linux 8perl-IO-ZlibNot affected
Red Hat Enterprise Linux 8perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 8perl-Math-ComplexNot affected
Red Hat Enterprise Linux 8perl-MemoizeNot affected
Red Hat Enterprise Linux 8perl-Module-LoadedNot affected
Red Hat Enterprise Linux 8perl-Net-PingNot affected
Red Hat Enterprise Linux 8perl-Pod-HtmlNot affected
Red Hat Enterprise Linux 8perl-SelfLoaderNot affected
Red Hat Enterprise Linux 8perl-TestNot affected
Red Hat Enterprise Linux 8perl-Time-PieceNot affected
Red Hat Enterprise Linux 8perl-develNot affected
Red Hat Enterprise Linux 8perl-interpreterNot affected
Red Hat Enterprise Linux 8perl-libnetcfgNot affected
Red Hat Enterprise Linux 8perl-libsNot affected
Red Hat Enterprise Linux 8perl-macrosNot affected
Red Hat Enterprise Linux 8perl-openNot affected
Red Hat Enterprise Linux 8perl-testsNot affected
Red Hat Enterprise Linux 8perl-utilsNot affected
Red Hat Enterprise Linux 7perlFixed4:5.16.3-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-CPANFixed0:1.9800-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-ExtUtils-CBuilderFixed1:0.28.2.6-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-ExtUtils-EmbedFixed0:1.30-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-ExtUtils-InstallFixed0:1.58-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-IO-ZlibFixed1:1.10-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-Locale-Maketext-SimpleFixed1:0.21-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-Module-CoreListFixed1:2.76.02-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-Module-LoadedFixed1:0.08-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-Object-AccessorFixed1:0.42-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-Package-ConstantsFixed1:0.02-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-Pod-EscapesFixed1:1.04-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-Time-PieceFixed0:1.20.1-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-coreFixed0:5.16.3-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-develFixed4:5.16.3-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-libsFixed4:5.16.3-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-macrosFixed4:5.16.3-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 7perl-testsFixed4:5.16.3-294.el7_6RHSA-2019:0109
Red Hat Enterprise Linux 6perlWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Archive-ExtractWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Archive-TarWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-CGIWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-CPANWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-CPANPLUSWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Compress-Raw-Bzip2Will not fix
Will not fix
Red Hat Enterprise Linux 6perl-Compress-Raw-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Compress-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Digest-SHAWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-CBuilderWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-EmbedWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-MakeMakerWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-ExtUtils-ParseXSWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-File-FetchWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-Compress-BaseWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-Compress-Bzip2Will not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-Compress-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IO-ZlibWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-IPC-CmdWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Locale-Maketext-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Log-MessageWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Log-Message-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-BuildWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-CoreListWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-LoadWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-Load-ConditionalWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-LoadedWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Module-PluggableWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Object-AccessorWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Package-ConstantsWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Params-CheckWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Parse-CPAN-MetaWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Pod-EscapesWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Pod-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Term-UIWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Test-HarnessWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Test-SimpleWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Time-HiResWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-Time-PieceWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-coreWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-develWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-parentWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-suidperlWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-versionWill not fix
Will not fix
Red Hat Enterprise Linux 5perlWill not fix
Will not fix
Alpine Linux 3.24perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.23perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.22perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.21perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.20perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.19perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.18perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.17perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.16perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.15perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.14perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.13perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.12perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.11perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.10perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.9perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.8perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.7perlFixed5.26.3-r0ALPINE-CVE-2018-18311
Alpine Linux 3.6perlFixed5.24.4-r2ALPINE-CVE-2018-18311

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.