CVE-2015-2305
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
8.883%
chance of exploitation in the next 30 days
higher than 95.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-190: Integer Overflow or Wraparound
Timeline
- 2015-03-30Published by the CNA10:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rxspencer_project rxspencer | 3.8.g5no fix listed | not listed |
| canonical ubuntu_linux | 10.04no fix listed12.04no fix listed14.04no fix listed14.10no fix listed15.04no fix listed | not listednot listednot listednot listednot listed |
| debian debian_linux | 7.0no fix listed8.0no fix listed | not listednot listed |
| opensuse opensuse | 13.1no fix listed13.2no fix listed | not listednot listed |
| php php | from 5.4.0 before 5.4.39fixed in 5.4.39from 5.5.0 before 5.5.23fixed in 5.5.23from 5.6.0 before 5.6.7fixed in 5.6.7 | 5.4.395.5.235.6.7 |
References
- 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://php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2015-1053.html
- http://rhn.redhat.com/errata/RHSA-2015-1066.html
- http://www.debian.org/security/2015/dsa-3195
- http://www.ubuntu.com/usn/USN-2572-1
- http://www.ubuntu.com/usn/USN-2594-1
- https://guidovranken.wordpress.com/2015/02/04/full-disclosure-heap-overflow-in-h-spencers-regex-library-on-32-bit-systems/
- http://blog.clamav.net/2015/04/clamav-0987-has-been-released.html
- http://openwall.com/lists/oss-security/2015/02/07/14
- http://openwall.com/lists/oss-security/2015/03/11/8
- http://www.kb.cert.org/vuls/id/695940
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/72611
- http://www.securitytracker.com/id/1031947
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2015-2305'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2015-2305'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2015-2305'curl 'https://api.contrastcyber.com/cve_products/CVE-2015-2305'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).