Integer overflow in PHP
CVE-2015-2305
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.089, 95.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- Rxspencer Project — versions 3.8.g5
- Canonical Ubuntu Linux — versions 10.04, 12.04, 14.04
- Debian Linux — versions 7.0, 8.0
- openSUSE — versions 13.1, 13.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, ARPSyndicate/cve-scores, SRVRS094ADM/ClamAV). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/72611 (Third Party Advisory, VDB Entry, vdb-entry)
- DSA-3195 (vendor-advisory, Third Party Advisory)
- [oss-security] 20150311 Re: CVE request: spencer regexp (mailing-list, Mailing List, Third Party Advisory)
- openSUSE-SU-2015:0644 (vendor-advisory, Mailing List, Third Party Advisory)
- APPLE-SA-2015-09-30-3 (vendor-advisory, Mailing List, Third Party Advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html (Third Party Advisory)
- SSRT102066 (vendor-advisory, Mailing List, Third Party Advisory)
- www.securitytracker.com/id/1031947 (Third Party Advisory, VDB Entry, vdb-entry)
- php.net/ChangeLog-5.php (Vendor Advisory)
- SUSE-SU-2015:0868 (vendor-advisory, Mailing List, Third Party Advisory)