CVEfocus › CVE database › CVE-2017-12837

CVE-2017-12837

CVSS 7.5 HighEPSS 6.2% (higher than 94% of CVEs)Published 2017-09-19Updated 2024-08-05Assigner: mitre

Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to cause a denial of service (out-of-bounds write) via a regular expression with a '\N{}' escape and the case-insensitive modifier.

What to do

Fixed builds are available from Alpine, Debian, 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

27Fixed
65Not 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.2UBUNTU-CVE-2017-12837
Ubuntu 14.04perlFixed5.18.2-2ubuntu1.3UBUNTU-CVE-2017-12837
Debian 14perlFixed5.26.0-8DEBIAN-CVE-2017-12837
Debian 13perlFixed5.26.0-8DEBIAN-CVE-2017-12837
Debian 12perlFixed5.26.0-8DEBIAN-CVE-2017-12837
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.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.23perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.22perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.21perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.20perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.19perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.18perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.17perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.16perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.15perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.14perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.13perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.12perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.11perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.10perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.9perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.8perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.7perlFixed5.26.1-r0ALPINE-CVE-2017-12837
Alpine Linux 3.6perlFixed5.24.3-r0ALPINE-CVE-2017-12837
Alpine Linux 3.5perlFixed5.24.3-r0ALPINE-CVE-2017-12837
Alpine Linux 3.4perlFixed5.22.3-r0ALPINE-CVE-2017-12837
Alpine Linux 3.3perlFixed5.22.3-r0ALPINE-CVE-2017-12837

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.