Skip to content
Fencer Intel
critical 9.8

CVE-2018-6913 in the critical feed json

Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a la…

published 2018-04-17 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18657

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
10.7%
EPSS 10.7% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

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.

Patch / fix

  • perl perl 5.26.2
  • perl Debian 14, Debian 13, Debian 12 5.26.1-6

debian advisories DEBIAN-CVE-2018-6913

  • perl Ubuntu 14.04 LTS 5.18.2-2ubuntu1.4
  • perl Ubuntu 16.04 LTS 5.22.1-9ubuntu0.3

ubuntu advisories UBUNTU-CVE-2018-6913

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • perl hummingbird 1 5.42.2-524.hum1
  • perl-B hummingbird 1 1.89-524.hum1
  • perl-if hummingbird 1 0.61.000-524.hum1
  • perl-IO hummingbird 1 1.55-524.hum1
  • perl-ph hummingbird 1 5.42.2-524.hum1
  • perl-lib hummingbird 1 0.65-524.hum1
  • perl-mro hummingbird 1 1.29-524.hum1
  • perl-Net hummingbird 1 1.04-524.hum1

red hat advisories RHSA-2026:6206

  • perl SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, SLE Module for Development Tools 15 SP6 +22 more 5.26.1-150300.17.17.1
  • perl SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +8 more 5.18.2-12.14.1
  • perl SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 5.18.2-12.11.1
  • perl SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.10.0-64.81.10.1
  • perl SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS 5.26.1-150000.7.18.1

suse advisories SUSE-SU-2024:1762-1SUSE-SU-2024:1762-2SUSE-SU-2024:1630-1SUSE-SU-2018:1972-2SUSE-SU-2018:1972-1SUSE-SU-2018:1074-1

  • perl Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 5.26.2-r0
  • perl Alpine 3.6, Alpine 3.5 5.24.4-r0

alpine advisories ALPINE-CVE-2018-6913

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-6913 updated cvss 4.0

perl: heap buffer overflow in pp_pack.c

  • Red Hat Enterprise Linux 5 perl Red Hat Enterprise Linux 6 perl, perl-CGI, perl-core, perl-CPAN, perl-libs, perl-parent, +39 more
    affected: no fix planned “Will not fix”
  • Red Hat Hardened Images perl 5.42.2-524.hum1, perl-B 1.89-524.hum1, perl-IO 1.55-524.hum1, perl-Tie 4.6-524.hum1, perl-lib 0.65-524.hum1, perl-mro 1.29-524.hum1, +93 more
    fixed: vendor fix RHSA-2026:6206
  • Red Hat Enterprise Linux 7 perl, perl-core, perl-CPAN, perl-libs, perl-tests, perl-macros, +11 more Red Hat Enterprise Linux 8 perl, perl-IO, perl-libs, perl-open, perl-Test, perl-Errno, +19 more Red Hat Software Collections rh-perl520-perl, rh-perl524-perl, rh-perl526-perl, rh-perl524-perl-IO, rh-perl526-perl-IO, rh-perl520-perl-core, +59 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

10.67% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.