Henry Spencer Regex Library on 32-bit regcomp numeric error

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

A vulnerability was found in Henry Spencer Regex Library on 32-bit. It has been classified as critical. This affects the function regcomp. This manipulation causes numeric error. This vulnerability is registered as CVE-2015-2305. No exploit is available.

Detailsinfo

A vulnerability has been found in Henry Spencer Regex Library on 32-bit (Software Library) and classified as critical. Affected by this vulnerability is the function regcomp. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was published 02/04/2015 by Guido Vranken as Full disclosure: heap overflow in H. Spencer’s regex library on 32 bit systems as confirmed article (Blog). The advisory is shared at guidovranken.wordpress.com. This vulnerability is known as CVE-2015-2305 since 03/16/2015. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. Responsible for the vulnerability is the following code:

111 len = strlen((char *)pattern);
...
...
118 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */
119 p->strip = (sop *)malloc(p->ssize * sizeof(sop));

The vulnerability scanner Nessus provides a plugin with the ID 83494 (Amazon Linux AMI : php (ALAS-2015-524)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11630 (PHP Versions Prior to 5.6.7/5.5.23/5.4.39 Multiple Vulnerabilities).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at Tenable (83494), SecurityFocus (BID 72611†), SecurityTracker (ID 1031947†) and Vulnerability Center (SBV-53066†). Similar entries are available at VDB-67396, VDB-67398, VDB-67420 and VDB-67724. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Henry Spencer Regex Library
  • PHP eregi()
  • MySQL Server
  • Bionic libc
  • FreeBSD
  • NetBSD

Productinfo

Type

Vendor

Name

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 83494
Nessus Name: Amazon Linux AMI : php (ALAS-2015-524)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: alas-2015-524
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

02/04/2015 🔍
02/04/2015 +0 days 🔍
03/16/2015 +40 days 🔍
03/19/2015 +3 days 🔍
03/20/2015 +1 days 🔍
03/30/2015 +10 days 🔍
05/18/2015 +49 days 🔍
09/30/2015 +135 days 🔍
10/01/2015 +1 days 🔍
01/27/2025 +3406 days 🔍

Sourcesinfo

Advisory: Full disclosure: heap overflow in H. Spencer’s regex library on 32 bit systems
Researcher: Guido Vranken
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-2305 (🔍)
GCVE (CVE): GCVE-0-2015-2305
GCVE (VulDB): GCVE-100-74065

OVAL: 🔍

CERT: 🔍
SecurityFocus: 72611 - Henry Spencer Regex Library 'regcomp.c' Heap Overflow Vulnerability
SecurityTracker: 1031947
Vulnerability Center: 53066 - PHP 5.4 - 5.4.38, 5.5 - 5.5.22 ,5.6 - 5.6.6 Remote DoS or Code Execution in Regex Library, High

See also: 🔍

Entryinfo

Created: 03/20/2015 10:18
Updated: 01/27/2025 02:04
Changes: 03/20/2015 10:18 (67), 02/01/2018 07:16 (14), 04/16/2022 01:00 (3), 04/16/2022 01:09 (1), 01/27/2025 02:04 (16)
Complete: 🔍
Cache ID: 216:FA5:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!