CVE-2015-2305
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 22.42%• Percentile: 96%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- canonical•ubuntu_linux
10.04 | 12.04 | 14.04 | 14.10 | 15.04
- debian•debian_linux
7.0 | 8.0
- opensuse•opensuse
13.1 | 13.2
- Unknown•PHP
≥ 5.4.0, < 5.4.39 | ≥ 5.5.0, < 5.5.23 | ≥ 5.6.0, < 5.6.7
- rxspencer_project•rxspencer
3.8.g5
References (21)
- http://www.securityfocus.com/bid/72611
- http://www.debian.org/security/2015/dsa-3195
- http://openwall.com/lists/oss-security/2015/03/11/8
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://marc.info/?l=bugtraq&m=143403519711434&w=2
- http://www.securitytracker.com/id/1031947
- http://php.net/ChangeLog-5.php
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
- http://www.ubuntu.com/usn/USN-2594-1
- https://support.apple.com/HT205267
- http://www.ubuntu.com/usn/USN-2572-1
- http://blog.clamav.net/2015/04/clamav-0987-has-been-released.html
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00026.html
- http://www.kb.cert.org/vuls/id/695940
- http://lists.opensuse.org/opensuse-updates/2015-05/msg00024.html
- http://openwall.com/lists/oss-security/2015/02/07/14
- https://guidovranken.wordpress.com/2015/02/04/full-disclosure-heap-overflow-in-h-spencers-regex-library-on-32-bit-systems/
- http://rhn.redhat.com/errata/RHSA-2015-1053.html
- http://rhn.redhat.com/errata/RHSA-2015-1066.html