{"id":"UBUNTU-CVE-2020-12723","details":"regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls.  An application written in Perl would only be vulnerable to this flaw if  it evaluates regular expressions supplied by the attacker. Evaluating  regular expressions in this fashion is known to be dangerous since the  regular expression engine does not protect against denial of service  attacks in this usage scenario.]","modified":"2026-04-22T12:28:05.806060Z","published":"2020-06-01T00:00:00Z","related":["USN-4602-1","USN-4602-2"],"upstream":["CVE-2020-12723"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-12723"},{"type":"REPORT","url":"https://metacpan.org/pod/release/XSAWYERX/perl-5.28.3/pod/perldelta.pod"},{"type":"REPORT","url":"https://metacpan.org/pod/release/XSAWYERX/perl-5.30.3/pod/perldelta.pod"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4602-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4602-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-12723"}],"affected":[{"package":{"name":"perl","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.7+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.2-2ubuntu1.7+esm3"}]}],"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","5.18.2-2ubuntu1.4","5.18.2-2ubuntu1.6","5.18.2-2ubuntu1.7"],"ecosystem_specific":{"binaries":[{"binary_version":"5.18.2-2ubuntu1.7+esm3","binary_name":"libcgi-fast-perl"},{"binary_version":"5.18.2-2ubuntu1.7+esm3","binary_name":"libperl5.18"},{"binary_version":"5.18.2-2ubuntu1.7+esm3","binary_name":"perl"},{"binary_version":"5.18.2-2ubuntu1.7+esm3","binary_name":"perl-base"},{"binary_version":"5.18.2-2ubuntu1.7+esm3","binary_name":"perl-debug"},{"binary_version":"5.18.2-2ubuntu1.7+esm3","binary_name":"perl-modules"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12723.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.9?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.22.1-9ubuntu0.9"}]}],"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","5.22.1-9ubuntu0.3","5.22.1-9ubuntu0.5","5.22.1-9ubuntu0.6"],"ecosystem_specific":{"binaries":[{"binary_version":"5.22.1-9ubuntu0.9","binary_name":"libperl5.22"},{"binary_version":"5.22.1-9ubuntu0.9","binary_name":"perl"},{"binary_version":"5.22.1-9ubuntu0.9","binary_name":"perl-base"},{"binary_version":"5.22.1-9ubuntu0.9","binary_name":"perl-debug"},{"binary_version":"5.22.1-9ubuntu0.9","binary_name":"perl-modules-5.22"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12723.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/perl@5.26.1-6ubuntu0.5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.26.1-6ubuntu0.5"}]}],"versions":["5.26.0-8ubuntu1","5.26.1-2ubuntu1","5.26.1-3","5.26.1-4","5.26.1-4build1","5.26.1-5","5.26.1-6","5.26.1-6ubuntu0.1","5.26.1-6ubuntu0.2","5.26.1-6ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"5.26.1-6ubuntu0.5","binary_name":"libperl5.26"},{"binary_version":"5.26.1-6ubuntu0.5","binary_name":"perl"},{"binary_version":"5.26.1-6ubuntu0.5","binary_name":"perl-base"},{"binary_version":"5.26.1-6ubuntu0.5","binary_name":"perl-debug"},{"binary_version":"5.26.1-6ubuntu0.5","binary_name":"perl-modules-5.26"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12723.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/perl@5.30.0-9ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.30.0-9ubuntu0.2"}]}],"versions":["5.28.1-6build1","5.30.0-7","5.30.0-9","5.30.0-9build1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.30.0-9ubuntu0.2","binary_name":"libperl5.30"},{"binary_version":"5.30.0-9ubuntu0.2","binary_name":"perl"},{"binary_version":"5.30.0-9ubuntu0.2","binary_name":"perl-base"},{"binary_version":"5.30.0-9ubuntu0.2","binary_name":"perl-debug"},{"binary_version":"5.30.0-9ubuntu0.2","binary_name":"perl-modules-5.30"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12723.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}