{"id":"UBUNTU-CVE-2017-12837","details":"Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to cause a denial of service (out-of-bounds write) via a regular expression with a '\\N{}' escape and the case-insensitive modifier.","modified":"2026-01-30T01:49:20.618053Z","published":"2017-09-19T00:00:00Z","related":["USN-3478-1"],"upstream":["CVE-2017-12837"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-12837"},{"type":"REPORT","url":"https://rt.perl.org/Public/Bug/Display.html?id=131582"},{"type":"REPORT","url":"https://perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3478-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-12837"}],"affected":[{"package":{"name":"perl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.18.2-2ubuntu1.3"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"5.18.2-2ubuntu1.3","binary_name":"libcgi-fast-perl"},{"binary_version":"5.18.2-2ubuntu1.3","binary_name":"libperl-dev"},{"binary_version":"5.18.2-2ubuntu1.3","binary_name":"libperl5.18"},{"binary_version":"5.18.2-2ubuntu1.3","binary_name":"perl"},{"binary_version":"5.18.2-2ubuntu1.3","binary_name":"perl-base"},{"binary_version":"5.18.2-2ubuntu1.3","binary_name":"perl-debug"},{"binary_version":"5.18.2-2ubuntu1.3","binary_name":"perl-modules"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12837.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.22.1-9ubuntu0.2"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"5.22.1-9ubuntu0.2","binary_name":"libperl-dev"},{"binary_version":"5.22.1-9ubuntu0.2","binary_name":"libperl5.22"},{"binary_version":"5.22.1-9ubuntu0.2","binary_name":"perl"},{"binary_version":"5.22.1-9ubuntu0.2","binary_name":"perl-base"},{"binary_version":"5.22.1-9ubuntu0.2","binary_name":"perl-debug"},{"binary_version":"5.22.1-9ubuntu0.2","binary_name":"perl-modules-5.22"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12837.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:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}