{"id":"CVE-2018-6913","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arb…","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.","ai_summary":null,"severity":"critical","cvss":{"score":9.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":9.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":7.5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-787"],"remote":true,"remote_unauth":true,"epss":{"score":0.10668,"percentile":0.95926,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://usn.ubuntu.com/3625-2/","kind":"vendor"},{"url":"https://usn.ubuntu.com/3625-1/","kind":"vendor"},{"url":"https://www.debian.org/security/2018/dsa-4172","kind":"vendor"},{"url":"https://security.gentoo.org/glsa/201909-01","kind":"vendor"},{"url":"https://rt.perl.org/Public/Bug/Display.html?id=131844","kind":"vendor"},{"url":"http://www.securityfocus.com/bid/103953","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00009.html","kind":"other"},{"url":"http://www.securitytracker.com/id/1040681","kind":"other"},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","kind":"other"}],"workarounds":null,"vendors":["canonical","debian","perl"],"products":["debian_linux","perl","ubuntu_linux"],"cpes":["cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"published_at":"2018-04-17T20:00:00.000Z","modified_at":"2026-06-17T02:02:27.057Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6913"}],"links":{"html":"https://flawdb.com/CVE-2018-6913","markdown":"https://flawdb.com/CVE-2018-6913.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-6913"}}