CVEfocus › CVE database › CVE-2018-6797

CVE-2018-6797

CVSS 9.8 CriticalEPSS 6.7% (higher than 94% of CVEs)Published 2018-04-17Updated 2024-08-05Assigner: mitre

An issue was discovered in Perl 5.18 through 5.26. A crafted regular expression can cause a heap-based buffer overflow, with control over the bytes written.

What to do

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

Ubuntu has not shipped a fix for every release yet.

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

24Fixed
1Fix pending
91Not 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 16.04perlFixed5.22.1-9ubuntu0.3UBUNTU-CVE-2018-6797
Ubuntu 14.04perlFix pendingUBUNTU-CVE-2018-6797
Debian 14perlFixed5.26.1-6DEBIAN-CVE-2018-6797
Debian 13perlFixed5.26.1-6DEBIAN-CVE-2018-6797
Debian 12perlFixed5.26.1-6DEBIAN-CVE-2018-6797
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 7perlNot affected
Red Hat Enterprise Linux 7perl-CPANNot affected
Red Hat Enterprise Linux 7perl-ExtUtils-CBuilderNot affected
Red Hat Enterprise Linux 7perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 7perl-ExtUtils-InstallNot affected
Red Hat Enterprise Linux 7perl-IO-ZlibNot affected
Red Hat Enterprise Linux 7perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 7perl-Module-CoreListNot affected
Red Hat Enterprise Linux 7perl-Module-LoadedNot affected
Red Hat Enterprise Linux 7perl-Object-AccessorNot affected
Red Hat Enterprise Linux 7perl-Package-ConstantsNot affected
Red Hat Enterprise Linux 7perl-Pod-EscapesNot affected
Red Hat Enterprise Linux 7perl-Time-PieceNot affected
Red Hat Enterprise Linux 7perl-coreNot affected
Red Hat Enterprise Linux 7perl-develNot affected
Red Hat Enterprise Linux 7perl-libsNot affected
Red Hat Enterprise Linux 7perl-macrosNot affected
Red Hat Enterprise Linux 7perl-testsNot affected
Red Hat Enterprise Linux 6perlNot affected
Red Hat Enterprise Linux 6perl-Archive-ExtractNot affected
Red Hat Enterprise Linux 6perl-Archive-TarNot affected
Red Hat Enterprise Linux 6perl-CGINot affected
Red Hat Enterprise Linux 6perl-CPANNot affected
Red Hat Enterprise Linux 6perl-CPANPLUSNot affected
Red Hat Enterprise Linux 6perl-Compress-Raw-Bzip2Not affected
Red Hat Enterprise Linux 6perl-Compress-Raw-ZlibNot affected
Red Hat Enterprise Linux 6perl-Compress-ZlibNot affected
Red Hat Enterprise Linux 6perl-Digest-SHANot affected
Red Hat Enterprise Linux 6perl-ExtUtils-CBuilderNot affected
Red Hat Enterprise Linux 6perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 6perl-ExtUtils-MakeMakerNot affected
Red Hat Enterprise Linux 6perl-ExtUtils-ParseXSNot affected
Red Hat Enterprise Linux 6perl-File-FetchNot affected
Red Hat Enterprise Linux 6perl-IO-Compress-BaseNot affected
Red Hat Enterprise Linux 6perl-IO-Compress-Bzip2Not affected
Red Hat Enterprise Linux 6perl-IO-Compress-ZlibNot affected
Red Hat Enterprise Linux 6perl-IO-ZlibNot affected
Red Hat Enterprise Linux 6perl-IPC-CmdNot affected
Red Hat Enterprise Linux 6perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 6perl-Log-MessageNot affected
Red Hat Enterprise Linux 6perl-Log-Message-SimpleNot affected
Red Hat Enterprise Linux 6perl-Module-BuildNot affected
Red Hat Enterprise Linux 6perl-Module-CoreListNot affected
Red Hat Enterprise Linux 6perl-Module-LoadNot affected
Red Hat Enterprise Linux 6perl-Module-Load-ConditionalNot affected
Red Hat Enterprise Linux 6perl-Module-LoadedNot affected
Red Hat Enterprise Linux 6perl-Module-PluggableNot affected
Red Hat Enterprise Linux 6perl-Object-AccessorNot affected
Red Hat Enterprise Linux 6perl-Package-ConstantsNot affected
Red Hat Enterprise Linux 6perl-Params-CheckNot affected
Red Hat Enterprise Linux 6perl-Parse-CPAN-MetaNot affected
Red Hat Enterprise Linux 6perl-Pod-EscapesNot affected
Red Hat Enterprise Linux 6perl-Pod-SimpleNot affected
Red Hat Enterprise Linux 6perl-Term-UINot affected
Red Hat Enterprise Linux 6perl-Test-HarnessNot affected
Red Hat Enterprise Linux 6perl-Test-SimpleNot affected
Red Hat Enterprise Linux 6perl-Time-HiResNot affected
Red Hat Enterprise Linux 6perl-Time-PieceNot affected
Red Hat Enterprise Linux 6perl-coreNot affected
Red Hat Enterprise Linux 6perl-develNot affected
Red Hat Enterprise Linux 6perl-libsNot affected
Red Hat Enterprise Linux 6perl-parentNot affected
Red Hat Enterprise Linux 6perl-suidperlNot affected
Red Hat Enterprise Linux 6perl-versionNot affected
Red Hat Enterprise Linux 5perlNot affected
Alpine Linux 3.24perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.23perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.22perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.21perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.20perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.19perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.18perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.17perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.16perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.15perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.14perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.13perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.12perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.11perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.10perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.9perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.8perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.7perlFixed5.26.2-r0ALPINE-CVE-2018-6797
Alpine Linux 3.6perlFixed5.24.4-r0ALPINE-CVE-2018-6797
Alpine Linux 3.5perlFixed5.24.4-r0ALPINE-CVE-2018-6797

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.