CVE-2018-6913: Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a…
Noroxi assessment
Priority: Plan (action score 42/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: 10.6% (FIRST EPSS); higher than 95.8% 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.2-r0; perl (Alpine:v3.5) 5.24.4-r0; perl (Debian:12) 5.26.1-6.
Add it to your regular patch cycle. Upgrade to perl (Alpine:v3.10) 5.26.2-r0; perl (Alpine:v3.5) 5.24.4-r0; perl (Debian:12) 5.26.1-6 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
Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a large item count.
- Published
- Apr 17, 2018
- Updated
- Jun 16, 2026
- EPSS
- 10.6% · 95th percentile
- CWE
- CWE-787
Report tools
Action score
42
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 10.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 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.10
- debian debian linux7.0
- debian debian linux8.0
- debian debian linux9.0
- perl perlbefore 5.26.2
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 | before 5.26.2-r0 | 5.26.2-r0 |
| Alpine:v3.5 | perl | before 5.24.4-r0 | 5.24.4-r0 |
| Debian:12 | perl | before 5.26.1-6 | 5.26.1-6 |
| Debian:7 | perl | before 5.14.2-21+deb7u6 | 5.14.2-21+deb7u6 |
| Debian:8 | perl | before 5.20.2-3+deb8u10 | 5.20.2-3+deb8u10 |
| Debian:9 | perl | before 5.24.1-3+deb9u3 | 5.24.1-3+deb9u3 |
| openSUSE:Leap Micro 5.3 | perl | before 5.26.1-150300.17.17.1 | 5.26.1-150300.17.17.1 |
| Red Hat:hummingbird:1 | perl | before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
| Red Hat:hummingbird:1 | perl-Attribute-Handlers | before 0:1.03-524.hum1 | 0:1.03-524.hum1 |
| Red Hat:hummingbird:1 | perl-AutoLoader | before 0:5.74-524.hum1 | 0:5.74-524.hum1 |
| Red Hat:hummingbird:1 | perl-AutoSplit | before 0:5.74-524.hum1 | 0:5.74-524.hum1 |
| Red Hat:hummingbird:1 | perl-autouse | before 0:1.11-524.hum1 | 0:1.11-524.hum1 |
| Red Hat:hummingbird:1 | perl-B | before 0:1.89-524.hum1 | 0:1.89-524.hum1 |
| Red Hat:hummingbird:1 | perl-base | before 0:2.27-524.hum1 | 0:2.27-524.hum1 |
| Red Hat:hummingbird:1 | perl-Benchmark | before 0:1.27-524.hum1 | 0:1.27-524.hum1 |
| Red Hat:hummingbird:1 | perl-blib | before 0:1.07-524.hum1 | 0:1.07-524.hum1 |
| Red Hat:hummingbird:1 | perl-Class-Struct | before 0:0.68-524.hum1 | 0:0.68-524.hum1 |
| Red Hat:hummingbird:1 | perl-Config-Extensions | before 0:0.03-524.hum1 | 0:0.03-524.hum1 |
| Red Hat:hummingbird:1 | perl-DBM_Filter | before 0:0.07-524.hum1 | 0:0.07-524.hum1 |
| Red Hat:hummingbird:1 | perl-debugger | before 0:1.60-524.hum1 | 0:1.60-524.hum1 |
| Red Hat:hummingbird:1 | perl-deprecate | before 0:0.04-524.hum1 | 0:0.04-524.hum1 |
| Red Hat:hummingbird:1 | perl-devel | before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
| Red Hat:hummingbird:1 | perl-Devel-Peek | before 0:1.36-524.hum1 | 0:1.36-524.hum1 |
| Red Hat:hummingbird:1 | perl-Devel-SelfStubber | before 0:1.06-524.hum1 | 0:1.06-524.hum1 |
+89
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-18311Perl 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.43Plan
- 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
Published before and after this one in the same product
- ← EarlierCVE-2018-6797Apr 17, 2018 · An issue was discovered in Perl 5.18 through 5.26.41Plan
- ← EarlierCVE-2018-6798Apr 17, 2018 · An issue was discovered in Perl 5.22 through 5.26.31Monitor
- Later →CVE-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
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.2-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:perl | 5.26.1-6 · Debian:12 | Package registry (OSV) |
| opensuse:perl | 5.26.1-150300.17.17.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| red hat:perl | 0:5.42.2-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-Attribute-Handlers | 0:1.03-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-AutoLoader | 0:5.74-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-AutoSplit | 0:5.74-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-B | 0:1.89-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-Benchmark | 0:1.27-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-Class-Struct | 0:0.68-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-Config-Extensions | 0:0.03-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-DBM_Filter | 0:0.07-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-Devel-Peek | 0:1.36-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-Devel-SelfStubber | 0:1.06-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:perl-DirHandle | 0:1.05-524.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| suse:perl | 5.10.0-64.81.10.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:perl | 5.26.1-150300.17.17.1 · SUSE:Linux Enterprise Micro 5.3 | 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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · 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-787 · Out-of-bounds WriteCVSS 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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.