CVE-2018-18311: 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.
Noroxi assessment
Priority: Plan (action score 43/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 11.6% (FIRST EPSS); higher than 96.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: perl (Alpine:v3.10) 5.26.3-r0; perl (Alpine:v3.6) 5.24.4-r2; perl (Debian:12) 5.28.1-1.
Add it to your regular patch cycle. Upgrade to perl (Alpine:v3.10) 5.26.3-r0; perl (Alpine:v3.6) 5.24.4-r2; perl (Debian:12) 5.28.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Dec 7, 2018
- Updated
- Jun 16, 2026
- EPSS
- 11.6% · 96th percentile
- CWE
- CWE-190
Report tools
Action score
43
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 11.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| perl | perl | cpe:2.3:a:perl:perl |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | e-series santricity os controller | cpe:2.3:a:netapp:e-series_santricity_os_controller |
| netapp | snap creator framework | cpe:2.3:a:netapp:snap_creator_framework |
| netapp | snapcenter | cpe:2.3:a:netapp:snapcenter |
| netapp | snapdriver | cpe:2.3:a:netapp:snapdriver |
| redhat | openshift container platform | cpe:2.3:a:redhat:openshift_container_platform |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
and 6 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple mac os xbefore 10.14.4
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.10
- debian debian linux8.0
- debian debian linux9.0
+12 more rows
- fedoraproject fedora29
- mcafee web gateway7.7.2 and later · before 7.7.2.21
- mcafee web gateway8.0.0 and later · before 8.1.1
- mcafee web gateway7.8.2 and later · before 7.8.2.8
- netapp e-series santricity os controllerall versions
- netapp snap creator frameworkall versions
- netapp snapcenterall versions
- netapp snapdriverall versions
- perl perlbefore 5.26.3
- perl perl5.28.0 and later · before 5.28.1
- redhat enterprise linux6.0
- redhat enterprise linux7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | perl | from 5.28.0 · before 5.26.3-r0 | 5.26.3-r0 |
| Alpine:v3.6 | perl | from 5.28.0 · before 5.24.4-r2 | 5.24.4-r2 |
| Debian:12 | perl | before 5.28.1-1 | 5.28.1-1 |
| Debian:8 | perl | before 5.20.2-3+deb8u12 | 5.20.2-3+deb8u12 |
| Debian:9 | perl | before 5.24.1-3+deb9u5 | 5.24.1-3+deb9u5 |
| openSUSE:Tumbleweed | perl | before 5.34.0-1.1 | 5.34.0-1.1 |
| Red Hat:enterprise_linux:7::client | perl | before 4:5.16.3-294.el7_6 | 4:5.16.3-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-core | before 0:5.16.3-294.el7_6 | 0:5.16.3-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-CPAN | before 0:1.9800-294.el7_6 | 0:1.9800-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-debuginfo | before 4:5.16.3-294.el7_6 | 4:5.16.3-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-devel | before 4:5.16.3-294.el7_6 | 4:5.16.3-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-ExtUtils-CBuilder | before 1:0.28.2.6-294.el7_6 | 1:0.28.2.6-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-ExtUtils-Embed | before 0:1.30-294.el7_6 | 0:1.30-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-ExtUtils-Install | before 0:1.58-294.el7_6 | 0:1.58-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-IO-Zlib | before 1:1.10-294.el7_6 | 1:1.10-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-libs | before 4:5.16.3-294.el7_6 | 4:5.16.3-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-Locale-Maketext-Simple | before 1:0.21-294.el7_6 | 1:0.21-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-macros | before 4:5.16.3-294.el7_6 | 4:5.16.3-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-Module-CoreList | before 1:2.76.02-294.el7_6 | 1:2.76.02-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-Module-Loaded | before 1:0.08-294.el7_6 | 1:0.08-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-Object-Accessor | before 1:0.42-294.el7_6 | 1:0.42-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-Package-Constants | before 1:0.02-294.el7_6 | 1:0.02-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-Pod-Escapes | before 1:1.04-294.el7_6 | 1:1.04-294.el7_6 |
| Red Hat:enterprise_linux:7::client | perl-tests | before 4:5.16.3-294.el7_6 | 4:5.16.3-294.el7_6 |
+96
Same product
perl: all recordsOther highest-scoring records for the same primary product.
- CVE-2012-6329The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and…49Plan
- CVE-2018-18312Perl 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.43Plan
- CVE-2018-6913Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a…42Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-6798Apr 17, 2018 · An issue was discovered in Perl 5.22 through 5.26.31Monitor
- ← EarlierCVE-2018-12015Jun 7, 2018 · In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite…32Monitor
- Later →CVE-2018-18313Dec 7, 2018 · Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process…39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:perl | 5.26.3-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:perl | 5.28.1-1 · Debian:12 | Package registry (OSV) |
| opensuse:perl | 5.34.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:rh-perl526-perl | 4:5.26.3-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-Attribute-Handlers | 0:0.99-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-Devel-Peek | 0:1.26-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-Devel-SelfStubber | 0:1.06-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-Errno | 0:1.28-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-ExtUtils-Embed | 0:1.34-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-ExtUtils-Miniperl | 0:1.06-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-IO | 0:1.38-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-IO-Zlib | 1:1.10-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-Locale-Maketext-Simple | 1:0.21-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-Math-Complex | 0:1.59-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-perl-Memoize | 0:1.03-405.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| suse:perl | 5.26.1-7.6.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- www.securityfocus.com/bid/106145
- www.securitytracker.com/id/1042181
- access.redhat.com/errata/RHBA-2019:0327
- access.redhat.com/errata/RHSA-2019:0001
- access.redhat.com/errata/RHSA-2019:0010
- access.redhat.com/errata/RHSA-2019:0109
- access.redhat.com/errata/RHSA-2019:1790
- access.redhat.com/errata/RHSA-2019:1942
- access.redhat.com/errata/RHSA-2019:2400
- bugzilla.redhat.com/show_bug.cgi?id=1646730
- github.com/Perl/perl5/commit/34716e2a6ee2af96078d62b065b7785c001194be
- kc.mcafee.com/corporate/index?page=content&id=SB10278
- lists.debian.org/debian-lts-announce/2018/11/msg00039.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/
- metacpan.org/changes/release/SHAY/perl-5.26.3
- metacpan.org/changes/release/SHAY/perl-5.28.1
- rt.perl.org/Ticket/Display.html?id=133204
- seclists.org/bugtraq/2019/Mar/42
- security.gentoo.org/glsa/201909-01
Vendor advisories and official records. Exploit/PoC links are deliberately left out.