{"id":"UBUNTU-CVE-2015-2305","details":"Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3.8.g5 on 32-bit platforms, as used in NetBSD through 6.1.5 and other products, might allow context-dependent attackers to execute arbitrary code via a large regular expression that leads to a heap-based buffer overflow.","modified":"2026-04-22T10:04:23.485877Z","published":"2015-03-30T00:00:00Z","related":["USN-2572-1","USN-2594-1"],"upstream":["CVE-2015-2305"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-2305"},{"type":"REPORT","url":"http://www.kb.cert.org/vuls/id/695940"},{"type":"REPORT","url":"https://guidovranken.wordpress.com/2015/02/04/full-disclosure-heap-overflow-in-h-spencers-regex-library-on-32-bit-systems/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2572-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2594-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-2305"}],"affected":[{"package":{"name":"clamav","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/clamav@0.98.7+dfsg-0ubuntu0.14.04.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.98.7+dfsg-0ubuntu0.14.04.1"}]}],"versions":["0.97.8+dfsg-1ubuntu4","0.97.8+dfsg-1ubuntu5","0.98.1+dfsg-1ubuntu4","0.98.1+dfsg-1ubuntu5","0.98.1+dfsg-2ubuntu2","0.98.1+dfsg-4ubuntu1","0.98.1+dfsg-4ubuntu1.1","0.98.5+addedllvm-0ubuntu0.14.04.1","0.98.6+dfsg-0ubuntu0.14.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"clamav","binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1"},{"binary_name":"clamav-base","binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1"},{"binary_name":"clamav-daemon","binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1"},{"binary_name":"clamav-docs","binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1"},{"binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1","binary_name":"clamav-freshclam"},{"binary_name":"clamav-milter","binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1"},{"binary_name":"clamav-testfiles","binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1"},{"binary_name":"libclamav6","binary_version":"0.98.7+dfsg-0ubuntu0.14.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-2305.json"}},{"package":{"name":"php5","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/php5@5.5.9+dfsg-1ubuntu4.9?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.9+dfsg-1ubuntu4.9"}]}],"versions":["5.5.3+dfsg-1ubuntu2","5.5.3+dfsg-1ubuntu3","5.5.6+dfsg-1ubuntu1","5.5.6+dfsg-1ubuntu2","5.5.8+dfsg-2ubuntu1","5.5.9+dfsg-1ubuntu1","5.5.9+dfsg-1ubuntu2","5.5.9+dfsg-1ubuntu3","5.5.9+dfsg-1ubuntu4","5.5.9+dfsg-1ubuntu4.1","5.5.9+dfsg-1ubuntu4.2","5.5.9+dfsg-1ubuntu4.3","5.5.9+dfsg-1ubuntu4.4","5.5.9+dfsg-1ubuntu4.5","5.5.9+dfsg-1ubuntu4.6","5.5.9+dfsg-1ubuntu4.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libapache2-mod-php5","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"libapache2-mod-php5filter","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"libphp5-embed","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php-pear","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-cgi","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-cli","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_version":"5.5.9+dfsg-1ubuntu4.9","binary_name":"php5-common"},{"binary_name":"php5-curl","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-enchant","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_version":"5.5.9+dfsg-1ubuntu4.9","binary_name":"php5-fpm"},{"binary_name":"php5-gd","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-gmp","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-intl","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-ldap","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-mysql","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_version":"5.5.9+dfsg-1ubuntu4.9","binary_name":"php5-mysqlnd"},{"binary_name":"php5-odbc","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-pgsql","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-pspell","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-readline","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-recode","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-snmp","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-sqlite","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-sybase","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-tidy","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-xmlrpc","binary_version":"5.5.9+dfsg-1ubuntu4.9"},{"binary_name":"php5-xsl","binary_version":"5.5.9+dfsg-1ubuntu4.9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-2305.json"}},{"package":{"name":"vigor","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/vigor@0.016-24build0.14.04.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.016-24build0.14.04.1"}]}],"versions":["0.016-22","0.016-23"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"vigor","binary_version":"0.016-24build0.14.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-2305.json"}},{"package":{"name":"nvi","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nvi@1.81.6-12build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.81.6-11","1.81.6-12","1.81.6-12build1"],"ecosystem_specific":{"binaries":[{"binary_name":"nvi","binary_version":"1.81.6-12build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-2305.json"}},{"package":{"name":"openrpt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openrpt@3.3.10-4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.10-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenrpt1v5","binary_version":"3.3.10-4"},{"binary_name":"openrpt","binary_version":"3.3.10-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-2305.json"}},{"package":{"name":"radare2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/radare2@0.9.6-3.1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-3.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libradare2-0.9.6","binary_version":"0.9.6-3.1ubuntu1"},{"binary_version":"0.9.6-3.1ubuntu1","binary_name":"libradare2-common"},{"binary_name":"radare2","binary_version":"0.9.6-3.1ubuntu1"},{"binary_name":"radare2-plugins","binary_version":"0.9.6-3.1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-2305.json"}},{"package":{"name":"openrpt","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openrpt@3.3.12-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.12-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libopenrpt1v5","binary_version":"3.3.12-2"},{"binary_version":"3.3.12-2","binary_name":"openrpt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-2305.json"}}],"schema_version":"1.7.5","severity":[{"type":"Ubuntu","score":"medium"}]}