perl: heap read overflow in regexec.c
Published Apr 17, 2018
7.5
HIGHCVSS 3.0
EPSS 3.93%
Description
An issue was discovered in Perl 5.22 through 5.26. Matching a crafted locale dependent regular expression can cause a heap-based buffer over-read and potentially information disclosure.
Affected products
No data.
Configuration 1
- 7.0
- 8.0
- 9.0
Configuration 3
- 14.04
- 16.04
- 17.10
Configuration 4
- 6.0
- 7.0
- 7.3
- 7.4
- 7.5
- 6.0
- 7.0
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-perl524-perl-4:5.24.0-380.el6
Fixed · RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-perl524-perl-4:5.24.0-380.el6
Fixed · RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-perl524-perl-4:5.24.0-380.el7
Fixed · RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-perl524-perl-4:5.24.0-380.el7
Fixed · RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-perl524-perl-4:5.24.0-380.el7
Fixed · RHSA-2018:1192
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 Software Collections
rh-perl520-perl
Not affected
Red Hat Software Collections
rh-perl526-perl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-perl524-perl-4:5.24.0-380.el6 | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-perl524-perl-4:5.24.0-380.el6 | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-perl524-perl-4:5.24.0-380.el7 | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-perl524-perl-4:5.24.0-380.el7 | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-perl524-perl-4:5.24.0-380.el7 | Fixed | RHSA-2018:1192 |
| 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 Software Collections | rh-perl520-perl | Not affected | n/a |
| Red Hat Software Collections | rh-perl526-perl | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Versions of the perl interpreter older than 5.22 are not vulnerable. As a result, the versions of perl as shipped in Red Hat Enterprise Linux version 7, 6 and 5, as well as the versions of rh-perl520-perl as shipped with Red Hat Software Collections are not affected by this vulnerability.
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:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:P/I:N/A:N
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 (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 3.93% (0.03930) | 90.04th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.17% (0.04169) | 89.56th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.49% (0.01490) | 79.32th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.11% (0.03109) | 77.92th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.55% (0.01548) | 80.12th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.46% (0.00456) | 76.07th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.53% (0.00530) | 76.39th | v3 (v2023.03.01) |
| Nov 11, 2023 | 0.53% (0.00530) | 74.38th | v3 (v2023.03.01) |
| Oct 18, 2023 | 0.58% (0.00580) | 75.59th | v3 (v2023.03.01) |
| Sep 8, 2023 | 0.70% (0.00699) | 77.85th | v3 (v2023.03.01) |
| Jul 8, 2023 | 1.17% (0.01167) | 83.03th | v3 (v2023.03.01) |
| Apr 11, 2023 | 0.89% (0.00889) | 80.22th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.99% (0.00991) | 81.22th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.66% (0.01659) | 34.20th | v1 |
| Jan 6, 2022 | 1.66% (0.01659) | 33.50th | v1 |
| Sep 1, 2021 | 1.66% (0.01659) | 73.96th | v1 |
| Apr 14, 2021 | 1.66% (0.01659) | 0.00th | v1 |
References (11)
- http://www.securitytracker.com/id/1040681 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1192 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-6798 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1547779 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2018-6798
- https://rt.perl.org/Public/Bug/Display.html?id=132063 x_refsource_CONFIRMVendor Advisory
- https://security.gentoo.org/glsa/201909-01 vendor-advisoryx_refsource_GENTOO
- https://usn.ubuntu.com/3625-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-6798
- https://www.debian.org/security/2018/dsa-4172 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
| Link | Providers | Tags |
|---|---|---|
| http://www.securitytracker.com/id/1040681 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:1192 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-6798 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1547779 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-6798 | ||
| https://rt.perl.org/Public/Bug/Display.html?id=132063 | x_refsource_CONFIRMVendor Advisory | |
| https://security.gentoo.org/glsa/201909-01 | vendor-advisoryx_refsource_GENTOO | |
| https://usn.ubuntu.com/3625-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-6798 | ||
| https://www.debian.org/security/2018/dsa-4172 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| https://www.oracle.com/security-alerts/cpujul2020.html | x_refsource_MISC |
Change history (0)
No recorded changes yet.