cve.bz

CVE-2018-6913 Out-of-bounds Write

9.8 criticalEPSS 11%

Critical (9.8). EPSS 11% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-6913 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-6913?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-6913?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-6913 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
perl:perlbefore 5.26.2
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7perl5.14.2-21+deb7u6DLA-1345-1
Debian8perl5.20.2-3+deb8u10DSA-4172-1
Debian9perl5.24.1-3+deb9u3DSA-4172-1
Debian12, 13, 14perl5.26.1-6DEBIAN-CVE-2018-6913
Ubuntu14.04:LTSperl5.18.2-2ubuntu1.4UBUNTU-CVE-2018-6913 USN-3625-1
Ubuntu16.04:LTSperl5.22.1-9ubuntu0.3UBUNTU-CVE-2018-6913 USN-3625-1
Red Hathummingbird:1perl, perl-ph, perl-doc and 8 more0:5.42.2-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-AutoSplit, perl-AutoLoader0:5.74-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-B0:1.89-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-Benchmark, perl-Hash-Util-FieldHash0:1.27-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-Class-Struct0:0.68-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-DBM_Filter0:0.07-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-Devel-Peek0:1.36-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-Devel-SelfStubber0:1.06-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-DynaLoader0:1.57-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-English, perl-autouse0:1.11-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-Errno0:1.38-524.hum1RHSA-2026:6206
Red Hathummingbird:1perl-ExtUtils-Constant0:0.25-524.hum1RHSA-2026:6206
54 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 7 moreperl5.18.2-12.14.1SUSE-SU-2018:1972-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 18 moreperl5.26.1-150300.17.17.1SUSE-SU-2024:1762-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3perl5.18.2-12.11.1SUSE-SU-2018:1074-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2perl5.26.1-150000.7.18.1SUSE-SU-2024:1630-1
SUSELinux Enterprise Micro 5.5perl5.26.1-150300.17.17.1SUSE-SU-2024:1762-2
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4perl5.10.0-64.81.10.1SUSE-SU-2018:0976-1
SUSELinux Enterprise Server 12 SP2-BCLperl5.18.2-12.14.1SUSE-SU-2018:1972-2
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.3 and 1 moreperl5.26.1-150300.17.17.1SUSE-SU-2024:1762-1
Alpinev3.5, v3.6perl5.24.4-r0ALPINE-CVE-2018-6913
Alpinev3.7, v3.8, v3.9 and 15 moreperl5.26.2-r0ALPINE-CVE-2018-6913

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The 64-bit versions of perl have not been found to be affected. As a result, this issue did not affect the versions of perl as shipped with Red Hat Enterprise Linux 7, and the versions of rh-perl526-perl, rh-perl524-perl and rh-perl520-perl as shipped with Red Hat Software Collections.

This issue affects the 32bit versions of perl as shipped with Red Hat Enterprise Linux 6. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Low, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue may affect the versions of perl as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Extended Life Cycle phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

ProductPackageStateAdvisory
Red Hat Hardened Imagesperl-main-0.02-524.hum1Fixed 2026-03-30RHSA-2026:6206
Red Hat Hardened Imagesperl-main-5.42.2-524.hum1Fixed 2026-03-30RHSA-2026:6206
Red Hat Enterprise Linux 5perlWill not fix
Red Hat Enterprise Linux 6perlWill not fix
Red Hat Enterprise Linux 7perlNot affected
Red Hat Enterprise Linux 8perlNot affected
Red Hat Software Collectionsrh-perl520-perlNot affected
Red Hat Software Collectionsrh-perl524-perlNot affected
Red Hat Software Collectionsrh-perl526-perlNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-6913.

References

Check your stackJSON