Read the docs
TI-2017-09505 Aliases CVE-2017-12837GHSA-q52c-c9hv-jc77

Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before…

Priority MEDIUM 42CWE-119Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.06207 93rd percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*up to 5.24.2VulnerablePerl
cpe:2.3:a:perl:perl:5.26.0:*:*:*:*:*:*:*5.26.0VulnerablePerl
  • cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* Versions up to 5.24.2 Vulnerable ·Perl
  • cpe:2.3:a:perl:perl:5.26.0:*:*:*:*:*:*:* Versions 5.26.0 Vulnerable ·Perl

Remediation

Red Hat 1 advisory

  • RHSA-2026:6206 Released 2026-03-30 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images perl-5.42.2-524.hum1@aarch64, perl-5.42.2-524.hum1@src, perl-5.42.2-524.hum1@x86_64 +47

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat Hardened ImagesFixed RHSA-2026:6206
Not affected: 3 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-12837
  2. 2026-10-03 Alias added: GHSA-q52c-c9hv-jc77

References

  • TI-2022-24100 In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead… CVSS 3.1CRITICAL 9.8
  • TI-2012-05140 The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl… CVSS 2.0HIGH 7.5
  • TI-2018-12932 Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular… CVSS 3.0CRITICAL 9.8
  • TI-2018-12931 Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular… CVSS 3.0CRITICAL 9.8
  • TI-2018-05049 Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows… CVSS 3.0CRITICAL 9.8
  • TI-2017-09493 Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl… CVSS 3.0CRITICAL 9.8
See all 45 →

Sources