{"id":"UBUNTU-CVE-2018-6913","details":"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.","modified":"2026-02-04T03:37:19.391353Z","published":"2018-04-14T00:00:00Z","related":["USN-3625-1","USN-3625-2"],"upstream":["CVE-2018-6913"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6913"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3625-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3625-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-6913"}],"affected":[{"package":{"name":"perl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.4?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.2-2ubuntu1.4"}]}],"versions":["5.14.2-21build1","5.18.1-4","5.18.1-4build1","5.18.1-5","5.18.2-2","5.18.2-2ubuntu1","5.18.2-2ubuntu1.1","5.18.2-2ubuntu1.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libcgi-fast-perl","binary_version":"5.18.2-2ubuntu1.4"},{"binary_name":"libperl-dev","binary_version":"5.18.2-2ubuntu1.4"},{"binary_name":"libperl5.18","binary_version":"5.18.2-2ubuntu1.4"},{"binary_name":"perl","binary_version":"5.18.2-2ubuntu1.4"},{"binary_name":"perl-base","binary_version":"5.18.2-2ubuntu1.4"},{"binary_name":"perl-debug","binary_version":"5.18.2-2ubuntu1.4"},{"binary_name":"perl-modules","binary_version":"5.18.2-2ubuntu1.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6913.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.22.1-9ubuntu0.3"}]}],"versions":["5.20.2-6","5.22.1-3","5.22.1-4","5.22.1-5","5.22.1-7","5.22.1-8","5.22.1-9","5.22.1-9ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl-dev","binary_version":"5.22.1-9ubuntu0.3"},{"binary_name":"libperl5.22","binary_version":"5.22.1-9ubuntu0.3"},{"binary_name":"perl","binary_version":"5.22.1-9ubuntu0.3"},{"binary_name":"perl-base","binary_version":"5.22.1-9ubuntu0.3"},{"binary_name":"perl-debug","binary_version":"5.22.1-9ubuntu0.3"},{"binary_name":"perl-modules-5.22","binary_version":"5.22.1-9ubuntu0.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6913.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}