What’s Vulnerable › Vulnerabilities
CVE-2015-2305
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 8.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2015-03-30 · updated 2026-06-17
- Weakness: CWE-190
Description
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.
Affected products
- Canonical Ubuntu Linux: 10.04, 12.04, 14.04, 14.10, 15.04
- Debian Linux: 7.0, 8.0
- Opensuse: 13.1, 13.2
- PHP: from 5.4.0 before 5.4.39; from 5.5.0 before 5.5.23; from 5.6.0 before 5.6.7 — fixed in 5.4.39, 5.5.23, 5.6.7
- Rxspencer Project Rxspencer: 3.8.g5
How to fix
Upgrade to a fixed version: PHP 5.4.39, 5.5.23, 5.6.7. Check the vendor advisory for mitigations.
References
- http://blog.clamav.net/2015/04/clamav-0987-has-been-released.html
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00026.html
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html
- http://lists.opensuse.org/opensuse-updates/2015-05/msg00024.html
- http://marc.info/?l=bugtraq&m=143403519711434&w=2
- http://openwall.com/lists/oss-security/2015/02/07/14
- http://openwall.com/lists/oss-security/2015/03/11/8
- http://php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2015-1053.html
- http://rhn.redhat.com/errata/RHSA-2015-1066.html
Get alerted when CVE-2015-2305 or the next vulnerability affects your stack