{"id":"UBUNTU-CVE-2023-47038","details":"A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.","modified":"2026-05-20T16:13:53.647465869Z","published":"2023-11-25T17:00:00Z","related":["USN-6517-1"],"upstream":["CVE-2023-47038"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-47038"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6517-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-47038"}],"affected":[{"package":{"name":"perl6","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/perl6?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.c-1"],"ecosystem_specific":{"binaries":[{"binary_name":"perl6","binary_version":"6.c-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.30.0-9ubuntu0.5"}]}],"versions":["5.28.1-6build1","5.30.0-7","5.30.0-9","5.30.0-9build1","5.30.0-9ubuntu0.2","5.30.0-9ubuntu0.3","5.30.0-9ubuntu0.4"],"ecosystem_specific":{"binaries":[{"binary_version":"5.30.0-9ubuntu0.5","binary_name":"libperl5.30"},{"binary_name":"perl","binary_version":"5.30.0-9ubuntu0.5"},{"binary_name":"perl-base","binary_version":"5.30.0-9ubuntu0.5"},{"binary_name":"perl-debug","binary_version":"5.30.0-9ubuntu0.5"},{"binary_name":"perl-modules-5.30","binary_version":"5.30.0-9ubuntu0.5"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}},{"package":{"name":"perl6","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/perl6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.d-2"],"ecosystem_specific":{"binaries":[{"binary_version":"6.d-2","binary_name":"perl6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-3ubuntu1.3"}]}],"versions":["5.32.1-3ubuntu3","5.34.0-3ubuntu1","5.34.0-3ubuntu1.1","5.34.0-3ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libperl5.34","binary_version":"5.34.0-3ubuntu1.3"},{"binary_version":"5.34.0-3ubuntu1.3","binary_name":"perl"},{"binary_version":"5.34.0-3ubuntu1.3","binary_name":"perl-base"},{"binary_name":"perl-debug","binary_version":"5.34.0-3ubuntu1.3"},{"binary_name":"perl-modules-5.34","binary_version":"5.34.0-3ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.36.0-10ubuntu1"}]}],"versions":["5.36.0-9ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.36.0-10ubuntu1","binary_name":"libperl5.36"},{"binary_name":"perl","binary_version":"5.36.0-10ubuntu1"},{"binary_version":"5.36.0-10ubuntu1","binary_name":"perl-base"},{"binary_name":"perl-debug","binary_version":"5.36.0-10ubuntu1"},{"binary_name":"perl-modules-5.36","binary_version":"5.36.0-10ubuntu1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}},{"package":{"name":"raku","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/raku?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.d.7"],"ecosystem_specific":{"binaries":[{"binary_name":"raku","binary_version":"6.d.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}},{"package":{"name":"raku","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/raku?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.d.7"],"ecosystem_specific":{"binaries":[{"binary_name":"raku","binary_version":"6.d.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}},{"package":{"name":"raku","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/raku?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.d.7","6.d.7build1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.d.7build1","binary_name":"raku"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}