perl: Heap-based buffer overflow in S_handle_regex_sets()
Published Dec 5, 2018
9.8
CRITICALCVSS 3.0
EPSS 12.09%
Description
Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
Affected products
No data.
Configuration 2
- 14.04
- 16.04
- 18.04
- 18.10
Configuration 3
- 9.0
Configuration 4
- 6.0
- 7.0
- 7.4
- 7.5
- 7.6
Configuration 5
- ≥ 11.0 · ≤ 11.40
- n/a
- n/a
- n/a
No data.
Red Hat Hardened Images
perl-main-1.03-524.1.hum1
Fixed · RHSA-2026:7604
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-perl524-perl-4:5.24.0-381.el6
Fixed · RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-perl524-perl-4:5.24.0-381.el7
Fixed · RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-perl526-perl-4:5.26.3-405.el7
Fixed · RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7
Fixed · RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-perl524-perl-4:5.24.0-381.el7
Fixed · RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-perl526-perl-4:5.26.3-405.el7
Fixed · RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7
Fixed · RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-perl524-perl-4:5.24.0-381.el7
Fixed · RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-perl526-perl-4:5.26.3-405.el7
Fixed · RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7
Fixed · RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-perl524-perl-4:5.24.0-381.el7
Fixed · RHSA-2019:0010
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-perl526-perl-4:5.26.3-405.el7
Fixed · RHSA-2019:0001
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7
Fixed · RHSA-2019:0001
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 Enterprise Linux 8
perl
Not affected
Red Hat Enterprise Linux 8
perl:5.24/perl
Not affected
Red Hat OpenShift Enterprise 3
perl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | perl-main-1.03-524.1.hum1 | Fixed | RHSA-2026:7604 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-perl524-perl-4:5.24.0-381.el6 | Fixed | RHSA-2019:0010 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-perl524-perl-4:5.24.0-381.el7 | Fixed | RHSA-2019:0010 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-perl526-perl-4:5.26.3-405.el7 | Fixed | RHSA-2019:0001 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7 | Fixed | RHSA-2019:0001 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-perl524-perl-4:5.24.0-381.el7 | Fixed | RHSA-2019:0010 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-perl526-perl-4:5.26.3-405.el7 | Fixed | RHSA-2019:0001 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7 | Fixed | RHSA-2019:0001 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-perl524-perl-4:5.24.0-381.el7 | Fixed | RHSA-2019:0010 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-perl526-perl-4:5.26.3-405.el7 | Fixed | RHSA-2019:0001 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7 | Fixed | RHSA-2019:0001 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-perl524-perl-4:5.24.0-381.el7 | Fixed | RHSA-2019:0010 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-perl526-perl-4:5.26.3-405.el7 | Fixed | RHSA-2019:0001 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-perl526-perl-Module-CoreList-1:5.20181130-1.el7 | Fixed | RHSA-2019:0001 |
| 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 Enterprise Linux 8 | perl | Not affected | n/a |
| Red Hat Enterprise Linux 8 | perl:5.24/perl | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | perl | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
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:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
AV:N/AC:L/Au:N/C:P/I:P/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 (51 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 12.09% (0.12093) | 96.03th | v5 (v2026.06.15) |
| Sep 22, 2026 | 12.09% (0.12093) | 95.96th | v5 (v2026.06.15) |
| Sep 21, 2026 | 10.95% (0.10945) | 95.75th | v5 (v2026.06.15) |
| Sep 6, 2026 | 12.09% (0.12093) | 95.87th | v5 (v2026.06.15) |
| Sep 5, 2026 | 10.95% (0.10945) | 95.66th | v5 (v2026.06.15) |
| Aug 30, 2026 | 12.09% (0.12093) | 95.85th | v5 (v2026.06.15) |
| Aug 28, 2026 | 10.95% (0.10945) | 95.63th | v5 (v2026.06.15) |
| Aug 24, 2026 | 12.09% (0.12093) | 95.82th | v5 (v2026.06.15) |
| Aug 23, 2026 | 10.95% (0.10945) | 95.62th | v5 (v2026.06.15) |
| Jun 15, 2026 | 12.09% (0.12093) | 95.60th | v5 (v2026.06.15) |
| Mar 4, 2026 | 10.85% (0.10850) | 93.23th | v4 (v2025.03.14) |
| Mar 1, 2026 | 5.66% (0.05660) | 90.26th | v4 (v2025.03.14) |
| Feb 4, 2026 | 10.85% (0.10850) | 93.19th | v4 (v2025.03.14) |
| Feb 1, 2026 | 5.66% (0.05660) | 90.20th | v4 (v2025.03.14) |
| Jan 4, 2026 | 10.85% (0.10850) | 93.13th | v4 (v2025.03.14) |
| Jan 1, 2026 | 5.66% (0.05660) | 90.16th | v4 (v2025.03.14) |
| Dec 28, 2025 | 10.85% (0.10850) | 93.14th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.39% (0.08390) | 92.03th | v4 (v2025.03.14) |
| Dec 10, 2025 | 10.85% (0.10850) | 93.10th | v4 (v2025.03.14) |
| Dec 4, 2025 | 9.27% (0.09270) | 92.42th | v4 (v2025.03.14) |
| Dec 1, 2025 | 4.78% (0.04784) | 89.11th | v4 (v2025.03.14) |
| Nov 21, 2025 | 9.27% (0.09270) | 92.40th | v4 (v2025.03.14) |
| Nov 18, 2025 | 14.33% (0.14328) | 93.78th | v4 (v2025.03.14) |
| Nov 4, 2025 | 9.27% (0.09270) | 92.37th | v4 (v2025.03.14) |
| Nov 1, 2025 | 4.78% (0.04784) | 89.02th | v4 (v2025.03.14) |
| Oct 4, 2025 | 9.27% (0.09270) | 92.42th | v4 (v2025.03.14) |
| Oct 1, 2025 | 4.78% (0.04784) | 89.05th | v4 (v2025.03.14) |
| Sep 4, 2025 | 8.54% (0.08537) | 92.06th | v4 (v2025.03.14) |
| Sep 1, 2025 | 3.92% (0.03918) | 87.92th | v4 (v2025.03.14) |
| Aug 4, 2025 | 9.34% (0.09341) | 92.42th | v4 (v2025.03.14) |
| Aug 1, 2025 | 4.53% (0.04530) | 88.81th | v4 (v2025.03.14) |
| Jul 4, 2025 | 10.31% (0.10307) | 92.83th | v4 (v2025.03.14) |
| Jul 1, 2025 | 6.13% (0.06131) | 90.40th | v4 (v2025.03.14) |
| Jun 4, 2025 | 10.31% (0.10307) | 92.76th | v4 (v2025.03.14) |
| Jun 1, 2025 | 6.13% (0.06131) | 90.35th | v4 (v2025.03.14) |
| May 30, 2025 | 10.31% (0.10307) | 92.76th | v4 (v2025.03.14) |
| Mar 30, 2025 | 7.71% (0.07715) | 91.11th | v4 (v2025.03.14) |
| Mar 29, 2025 | 15.83% (0.15829) | 91.27th | v4 (v2025.03.14) |
| Mar 17, 2025 | 7.71% (0.07715) | 91.31th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.07% (0.02067) | 89.50th | v3 (v2023.03.01) |
| Apr 27, 2024 | 2.07% (0.02067) | 88.89th | v3 (v2023.03.01) |
| Nov 29, 2023 | 2.83% (0.02831) | 89.60th | v3 (v2023.03.01) |
| Nov 8, 2023 | 2.46% (0.02462) | 88.85th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.06% (0.01061) | 81.88th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.08% (0.03080) | 65.20th | v1 |
| Jan 6, 2022 | 3.08% (0.03080) | 64.86th | v1 |
| Sep 1, 2021 | 3.08% (0.03080) | 81.27th | v1 |
| Apr 14, 2021 | 3.08% (0.03080) | 0.00th | v1 |
References (17)
- http://www.securityfocus.com/bid/106179 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1042181 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:0001 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0010 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-18312 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1646734 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/ vendor-advisoryx_refsource_FEDORA
- https://metacpan.org/changes/release/SHAY/perl-5.26.3 x_refsource_CONFIRMThird Party Advisory
- https://metacpan.org/changes/release/SHAY/perl-5.28.1 x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-18312
- https://rt.perl.org/Public/Bug/Display.html?id=133423 x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://security.gentoo.org/glsa/201909-01 vendor-advisoryx_refsource_GENTOO
- https://security.netapp.com/advisory/ntap-20190221-0003/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/3834-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-18312
- https://www.debian.org/security/2018/dsa-4347 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
Change history (0)
No recorded changes yet.