perl: Integer overflow leading to buffer overflow in Perl_my_setenv()
Published Dec 7, 2018
9.8
CRITICALCVSS 3.0
EPSS 11.68%
Description
Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
Affected products
No data.
Configuration 2
- 12.04
- 14.04
- 16.04
- 18.04
- 18.10
Configuration 3
- 8.0
- 9.0
Configuration 4
- n/a
- n/a
- n/a
- n/a
Configuration 5
- 3.11
- 6.0
- 7.0
- 7.4
- 7.5
- 7.6
- 7.0
- 7.6
- 7.0
- 7.6
- 7.6
- 7.0
Configuration 7
- 29
Configuration 8
- ≥ 7.7.2 · < 7.7.2.21
- ≥ 7.8.2 · < 7.8.2.8
- ≥ 8.0.0 · < 8.1.1
No data.
Red Hat Enterprise Linux 7
perl-4:5.16.3-294.el7_6
Fixed · RHSA-2019:0109
Red Hat Enterprise Linux 7.3 Advanced Update Support
perl-4:5.16.3-291.el7_3.1
Fixed · RHSA-2019:2400
Red Hat Enterprise Linux 7.3 Telco Extended Update Support
perl-4:5.16.3-291.el7_3.1
Fixed · RHSA-2019:2400
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions
perl-4:5.16.3-291.el7_3.1
Fixed · RHSA-2019:2400
Red Hat Enterprise Linux 7.4 Extended Update Support
perl-4:5.16.3-292.el7_4.1
Fixed · RHSA-2019:1942
Red Hat Enterprise Linux 7.5 Extended Update Support
perl-4:5.16.3-292.el7_5.1
Fixed · RHSA-2019:1790
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
Will not fix
Red Hat Enterprise Linux 6
perl
Will not fix
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
Red Hat Virtualization 4
redhat-virtualization-host
Will not fix
Red Hat Virtualization 4
rhvm-appliance
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | perl-4:5.16.3-294.el7_6 | Fixed | RHSA-2019:0109 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | perl-4:5.16.3-291.el7_3.1 | Fixed | RHSA-2019:2400 |
| Red Hat Enterprise Linux 7.3 Telco Extended Update Support | perl-4:5.16.3-291.el7_3.1 | Fixed | RHSA-2019:2400 |
| Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions | perl-4:5.16.3-291.el7_3.1 | Fixed | RHSA-2019:2400 |
| Red Hat Enterprise Linux 7.4 Extended Update Support | perl-4:5.16.3-292.el7_4.1 | Fixed | RHSA-2019:1942 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | perl-4:5.16.3-292.el7_5.1 | Fixed | RHSA-2019:1790 |
| 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 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | perl | Will not fix | 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 |
| Red Hat Virtualization 4 | redhat-virtualization-host | Will not fix | n/a |
| Red Hat Virtualization 4 | rhvm-appliance | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability is present in versions of perl included with Red Hat Virtualization Hypervisor and Management Appliance, however it is not exposed in any meaningful way. Perl is only included in these images as a dependency of components which do not manipulate ENV, and are not exposed to user input. A future update may address this issue.
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:H/I:H/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 2, 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 (56 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 11.68% (0.11676) | 95.94th | v5 (v2026.06.15) |
| Jun 15, 2026 | 11.99% (0.11990) | 95.58th | v5 (v2026.06.15) |
| May 24, 2026 | 12.91% (0.12910) | 94.15th | v4 (v2025.03.14) |
| Mar 4, 2026 | 11.36% (0.11355) | 93.42th | v4 (v2025.03.14) |
| Mar 1, 2026 | 3.84% (0.03838) | 88.00th | v4 (v2025.03.14) |
| Feb 4, 2026 | 11.36% (0.11355) | 93.37th | v4 (v2025.03.14) |
| Feb 1, 2026 | 3.84% (0.03838) | 87.93th | v4 (v2025.03.14) |
| Jan 4, 2026 | 11.36% (0.11355) | 93.32th | v4 (v2025.03.14) |
| Jan 1, 2026 | 3.84% (0.03838) | 87.89th | v4 (v2025.03.14) |
| Dec 28, 2025 | 11.36% (0.11355) | 93.32th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.79% (0.08795) | 92.27th | v4 (v2025.03.14) |
| Dec 10, 2025 | 11.36% (0.11355) | 93.29th | v4 (v2025.03.14) |
| Dec 4, 2025 | 9.71% (0.09712) | 92.63th | v4 (v2025.03.14) |
| Dec 1, 2025 | 3.23% (0.03231) | 86.69th | v4 (v2025.03.14) |
| Nov 21, 2025 | 9.71% (0.09712) | 92.61th | v4 (v2025.03.14) |
| Nov 18, 2025 | 11.08% (0.11076) | 92.73th | v4 (v2025.03.14) |
| Nov 12, 2025 | 9.71% (0.09712) | 92.59th | v4 (v2025.03.14) |
| Nov 4, 2025 | 11.09% (0.11092) | 93.12th | v4 (v2025.03.14) |
| Nov 1, 2025 | 3.23% (0.03231) | 86.61th | v4 (v2025.03.14) |
| Oct 28, 2025 | 11.09% (0.11092) | 93.12th | v4 (v2025.03.14) |
| Oct 27, 2025 | 10.06% (0.10063) | 92.76th | v4 (v2025.03.14) |
| Oct 15, 2025 | 11.09% (0.11092) | 93.11th | v4 (v2025.03.14) |
| Oct 4, 2025 | 13.02% (0.13023) | 93.82th | v4 (v2025.03.14) |
| Oct 1, 2025 | 3.78% (0.03778) | 87.63th | v4 (v2025.03.14) |
| Sep 4, 2025 | 12.70% (0.12702) | 93.75th | v4 (v2025.03.14) |
| Sep 1, 2025 | 4.13% (0.04133) | 88.27th | v4 (v2025.03.14) |
| Aug 30, 2025 | 12.70% (0.12702) | 93.74th | v4 (v2025.03.14) |
| Aug 4, 2025 | 11.04% (0.11041) | 93.16th | v4 (v2025.03.14) |
| Aug 1, 2025 | 3.54% (0.03537) | 87.33th | v4 (v2025.03.14) |
| Jul 12, 2025 | 11.28% (0.11279) | 93.20th | v4 (v2025.03.14) |
| Jul 4, 2025 | 9.73% (0.09733) | 92.57th | v4 (v2025.03.14) |
| Jul 1, 2025 | 3.60% (0.03601) | 87.34th | v4 (v2025.03.14) |
| Jun 4, 2025 | 9.73% (0.09733) | 92.51th | v4 (v2025.03.14) |
| Jun 1, 2025 | 3.60% (0.03601) | 87.26th | v4 (v2025.03.14) |
| May 30, 2025 | 9.73% (0.09733) | 92.50th | v4 (v2025.03.14) |
| May 6, 2025 | 8.50% (0.08502) | 91.87th | v4 (v2025.03.14) |
| May 4, 2025 | 9.73% (0.09733) | 92.48th | v4 (v2025.03.14) |
| May 1, 2025 | 3.60% (0.03601) | 87.16th | v4 (v2025.03.14) |
| Mar 30, 2025 | 9.73% (0.09733) | 92.18th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.42% (0.19422) | 92.45th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.73% (0.09733) | 92.36th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.31% (0.00313) | 70.50th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.31% (0.00313) | 70.39th | v3 (v2023.03.01) |
| Jun 8, 2024 | 0.40% (0.00400) | 73.56th | v3 (v2023.03.01) |
| Apr 29, 2024 | 0.37% (0.00372) | 72.38th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.53% (0.00532) | 76.40th | v3 (v2023.03.01) |
| Dec 1, 2023 | 0.53% (0.00532) | 74.40th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.50% (0.00504) | 73.71th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.50% (0.00496) | 72.53th | 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 | 0.89% (0.00894) | 25.44th | v1 |
| Jan 6, 2022 | 0.89% (0.00894) | 24.82th | v1 |
| Sep 1, 2021 | 0.89% (0.00894) | 59.19th | v1 |
| Apr 14, 2021 | 0.89% (0.00894) | 0.00th | v1 |
References (31)
- http://seclists.org/fulldisclosure/2019/Mar/49 mailing-listx_refsource_FULLDISCMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/106145 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/RHBA-2019:0327 vendor-advisoryx_refsource_REDHATThird Party Advisory
- 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/errata/RHSA-2019:0109 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1790 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:1942 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:2400 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-18311 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1646730 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/Perl/perl5/commit/34716e2a6ee2af96078d62b065b7785c001194be x_refsource_CONFIRMPatchThird Party Advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10278 x_refsource_CONFIRMThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/11/msg00039.html mailing-listx_refsource_MLISTMailing ListThird 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-18311
- https://rt.perl.org/Ticket/Display.html?id=133204 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://seclists.org/bugtraq/2019/Mar/42 mailing-listx_refsource_BUGTRAQMailing ListThird 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://support.apple.com/kb/HT209600 x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/3834-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3834-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-18311
- https://www.debian.org/security/2018/dsa-4347 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISC
Change history (0)
No recorded changes yet.