Vulnerabilities / CVE-2018-6913

critical

CVE-2018-6913

perl: heap buffer overflow in pp_pack.c

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.0CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Ubuntu (medium), Red Hat (low).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 1.0perl5.24.1-1.ph1
Photon OS 2.0perl5.24.1-5.ph2
alpine 3.10perl5.26.2-r0
alpine 3.11perl5.26.2-r0
alpine 3.12perl5.26.2-r0
alpine 3.13perl5.26.2-r0
alpine 3.14perl5.26.2-r0
alpine 3.15perl5.26.2-r0
alpine 3.16perl5.26.2-r0
alpine 3.17perl5.26.2-r0
alpine 3.18perl5.26.2-r0
alpine 3.19perl5.26.2-r0
Show all 84 entries from 39 sources
SourcePackageFixed in
Photon OS 1.0perl5.24.1-1.ph1
Photon OS 2.0perl5.24.1-5.ph2
alpine 3.10perl5.26.2-r0
alpine 3.11perl5.26.2-r0
alpine 3.12perl5.26.2-r0
alpine 3.13perl5.26.2-r0
alpine 3.14perl5.26.2-r0
alpine 3.15perl5.26.2-r0
alpine 3.16perl5.26.2-r0
alpine 3.17perl5.26.2-r0
alpine 3.18perl5.26.2-r0
alpine 3.19perl5.26.2-r0
alpine 3.20perl5.26.2-r0
alpine 3.21perl5.26.2-r0
alpine 3.22perl5.26.2-r0
alpine 3.23perl5.26.2-r0
alpine 3.24perl5.26.2-r0
alpine 3.5perl5.24.4-r0
alpine 3.6perl5.24.4-r0
alpine 3.7perl5.26.2-r0
alpine 3.8perl5.26.2-r0
alpine 3.9perl5.26.2-r0
alpine edgeperl5.26.2-r0
debian 11perl5.26.1-6
debian 12perl5.26.1-6
debian 13perl5.26.1-6
debian 14perl5.26.1-6
debian 7perl5.14.2-21+deb7u6
debian 8perl5.20.2-3+deb8u10
debian 9perl5.24.1-3+deb9u3
echoperl5.26.1-6
Red Hatperlno fix listed
Red Hatperl-Archive-Extractno fix listed
Red Hatperl-Archive-Tarno fix listed
Red Hatperl-CGIno fix listed
Red Hatperl-CPANno fix listed
Red Hatperl-CPANPLUSno fix listed
Red Hatperl-Compress-Raw-Bzip2no fix listed
Red Hatperl-Compress-Raw-Zlibno fix listed
Red Hatperl-Compress-Zlibno fix listed
Red Hatperl-Digest-SHAno fix listed
Red Hatperl-ExtUtils-CBuilderno fix listed
Red Hatperl-ExtUtils-Embedno fix listed
Red Hatperl-ExtUtils-MakeMakerno fix listed
Red Hatperl-ExtUtils-ParseXSno fix listed
Red Hatperl-File-Fetchno fix listed
Red Hatperl-IO-Compress-Baseno fix listed
Red Hatperl-IO-Compress-Bzip2no fix listed
Red Hatperl-IO-Compress-Zlibno fix listed
Red Hatperl-IO-Zlibno fix listed
Red Hatperl-IPC-Cmdno fix listed
Red Hatperl-Locale-Maketext-Simpleno fix listed
Red Hatperl-Log-Messageno fix listed
Red Hatperl-Log-Message-Simpleno fix listed
Red Hatperl-Module-Buildno fix listed
Red Hatperl-Module-CoreListno fix listed
Red Hatperl-Module-Loadno fix listed
Red Hatperl-Module-Load-Conditionalno fix listed
Red Hatperl-Module-Loadedno fix listed
Red Hatperl-Module-Pluggableno fix listed
Red Hatperl-Object-Accessorno fix listed
Red Hatperl-Package-Constantsno fix listed
Red Hatperl-Params-Checkno fix listed
Red Hatperl-Parse-CPAN-Metano fix listed
Red Hatperl-Pod-Escapesno fix listed
Red Hatperl-Pod-Simpleno fix listed
Red Hatperl-Term-UIno fix listed
Red Hatperl-Test-Harnessno fix listed
Red Hatperl-Test-Simpleno fix listed
Red Hatperl-Time-HiResno fix listed
Red Hatperl-Time-Pieceno fix listed
Red Hatperl-coreno fix listed
Red Hatperl-develno fix listed
Red Hatperl-libsno fix listed
Red Hatperl-parentno fix listed
Red Hatperl-suidperlno fix listed
Red Hatperl-versionno fix listed
root.io debian 11rootio-perl5.26.1-6
root.io debian 12rootio-perl5.26.1-6
ubuntu 14.04perl5.18.2-2ubuntu1.4
ubuntu 14.04-ESMperl5.18.2-2ubuntu1.4
ubuntu 16.04perl5.22.1-9ubuntu0.3
ubuntu 16.04-ESMperl5.22.1-9ubuntu0.3
ubuntu 17.10perl5.26.0-8ubuntu1.1

References

All 14 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.