perl: Buffer over-read in regular expression parser
Published Sep 19, 2017
9.1
CRITICALCVSS 3.0
EPSS 5.91%
Description
Buffer overflow in the S_grok_bslash_N 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 disclose sensitive information or cause a denial of service (application crash) via a crafted regular expression with an invalid '\N{U+...}' escape.
Affected products
No data.
No data.
Red Hat Hardened Images
perl-main-1.03-524.hum1
Fixed · RHSA-2026:6206
Red Hat Enterprise Linux 5
perl
Not affected
Red Hat Enterprise Linux 6
perl
Not affected
Red Hat Enterprise Linux 7
perl
Not affected
Red Hat Software Collections
rh-perl520-perl
Not affected
Red Hat Software Collections
rh-perl524-perl
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | perl-main-1.03-524.hum1 | Fixed | RHSA-2026:6206 |
| Red Hat Enterprise Linux 5 | perl | Not affected | n/a |
| Red Hat Enterprise Linux 6 | perl | Not affected | n/a |
| Red Hat Enterprise Linux 7 | perl | Not affected | n/a |
| Red Hat Software Collections | rh-perl520-perl | Not affected | n/a |
| Red Hat Software Collections | rh-perl524-perl | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Perl as shipped in Red Hat Enterprise Linux 7 and older have not been found to be vulnerable. This vulnerability was not present in perl versions older than 5.20.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
AV:N/AC:L/Au:N/C:P/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (23 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.91% (0.05908) | 93.01th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.91% (0.05908) | 92.26th | v5 (v2026.06.15) |
| Dec 28, 2025 | 4.51% (0.04509) | 88.76th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.44% (0.02438) | 84.80th | v4 (v2025.03.14) |
| Oct 28, 2025 | 3.87% (0.03873) | 87.71th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.44% (0.02438) | 84.65th | v4 (v2025.03.14) |
| Oct 1, 2025 | 3.87% (0.03873) | 87.81th | v4 (v2025.03.14) |
| Jul 30, 2025 | 2.44% (0.02438) | 84.54th | v4 (v2025.03.14) |
| Mar 30, 2025 | 4.65% (0.04648) | 88.29th | v4 (v2025.03.14) |
| Mar 29, 2025 | 11.49% (0.11494) | 89.31th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.65% (0.04648) | 88.57th | v4 (v2025.03.14) |
| Oct 1, 2024 | 3.43% (0.03431) | 91.61th | v3 (v2023.03.01) |
| Jul 10, 2024 | 2.27% (0.02267) | 89.72th | v3 (v2023.03.01) |
| Dec 24, 2023 | 2.03% (0.02030) | 87.71th | v3 (v2023.03.01) |
| Mar 22, 2023 | 2.00% (0.02002) | 87.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.08% (0.02083) | 87.30th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.73th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.52% (0.03521) | 68.37th | v1 |
| Jan 6, 2022 | 3.52% (0.03521) | 68.07th | v1 |
| Sep 1, 2021 | 3.52% (0.03521) | 82.02th | v1 |
| Apr 14, 2021 | 3.52% (0.03521) | 0.00th | v1 |
References (13)
- http://mirror.cucumberlinux.com/cucumber/cucumber-1.0/source/lang-base/perl/patches/CVE-2017-12883.patch x_refsource_CONFIRMPatchThird Party Advisory
- http://www.debian.org/security/2017/dsa-3982 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/100852 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-12883 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1492093 x_refsource_CONFIRMIssue TrackingPatchThird Party AdvisoryVDB Entry
- https://nvd.nist.gov/vuln/detail/CVE-2017-12883
- https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f#patch1 x_refsource_CONFIRMPatchVendor Advisory
- https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1 x_refsource_CONFIRMRelease NotesVendor Advisory
- https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1 x_refsource_CONFIRMRelease NotesVendor Advisory
- https://rt.perl.org/Public/Bug/Display.html?id=131598 x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20180426-0001/ x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2017-12883
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
Change history (0)
No recorded changes yet.