An issue was discovered in Perl 5.18 through 5.26.
Priority MEDIUM 51CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
An issue was discovered in Perl 5.18 through 5.26. A crafted regular expression can cause a heap-based buffer overflow, with control over the bytes written.
Why it matters now
EPSS 0.06477 93rd percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 7 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* | 5.18 – 5.26 | Vulnerable | Perl |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | 17.10 | Vulnerable | Canonical |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* Versions 5.18 – 5.26 Vulnerable ·Perl
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
Remediation
Red Hat 1 advisory
- RHSA-2018:1192 Released 2018-04-23 · Red Hat rating Moderaterh-perl524-perl security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-perl524-perl-4:5.24.0-380.el6, rh-perl524-perl-Attribute-Handlers-0.99-380.el6, rh-perl524-perl-Devel-Peek-1.23-380.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-perl524-perl-4:5.24.0-380.el7, rh-perl524-perl-Attribute-Handlers-0.99-380.el7, rh-perl524-perl-Devel-Peek-1.23-380.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-perl524-perl-4:5.24.0-380.el6, rh-perl524-perl-Attribute-Handlers-0.99-380.el6, rh-perl524-perl-Devel-Peek-1.23-380.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-perl524-perl-4:5.24.0-380.el7, rh-perl524-perl-Attribute-Handlers-0.99-380.el7, rh-perl524-perl-Devel-Peek-1.23-380.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-perl524-perl-4:5.24.0-380.el7, rh-perl524-perl-Attribute-Handlers-0.99-380.el7, rh-perl524-perl-Devel-Peek-1.23-380.el7 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-perl524-perl-4:5.24.0-380.el6, rh-perl524-perl-Attribute-Handlers-0.99-380.el6, rh-perl524-perl-Devel-Peek-1.23-380.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-perl524-perl-4:5.24.0-380.el7, rh-perl524-perl-Attribute-Handlers-0.99-380.el7, rh-perl524-perl-Devel-Peek-1.23-380.el7 +26
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:1192 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:1192 |
Not affected: 5 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2018-6797
- 2026-10-03 Alias added: GHSA-8qqx-9gj6-xx9p
References
Sources
- CVE-2018-6797 · CVE Program
- CVE-2018-6797 · NVD
- FIRST EPSS
- GHSA-8qqx-9gj6-xx9p · GitHub Advisory Database · CC BY 4.0
- CVE-2018-6797 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences