Read the docs
TI-2015-02034 Aliases CVE-2015-2305GHSA-qcm7-3c5w-vhg7

Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library…

Priority MEDIUM 42CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
Code execution
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Partial Red Hat: 6 fixed, 4 without a fix

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.08883 95th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 2 advisoriesRed Hat: 6 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 11

CPEVersionsRoleVendor
cpe:2.3:a:rxspencer_project:rxspencer:3.8.g5:*:*:*:*:*:*:*3.8.g5VulnerableRxspencer Project
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*10.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*12.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*14.10VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*15.04VulnerableCanonical
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*7.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*13.1VulnerableopenSUSE
cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*13.2VulnerableopenSUSE
  • cpe:2.3:a:rxspencer_project:rxspencer:3.8.g5:*:*:*:*:*:*:* Versions 3.8.g5 Vulnerable ·Rxspencer Project
  • cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* Versions 10.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* Versions 14.10 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
  • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* Versions 13.1 Vulnerable ·openSUSE
  • cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* Versions 13.2 Vulnerable ·openSUSE
Show 1 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*5.4.0 to before 5.4.39; 5.5.0 to before 5.5.23; 5.6.0 to before 5.6.7VulnerablePHP
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.4.0 to before 5.4.39; 5.5.0 to before 5.5.23; 5.6.0 to before 5.6.7 Vulnerable ·PHP

Remediation

Red Hat 2 advisories

  • RHSA-2015:1053 Released 2015-06-04 · Red Hat rating Moderate
    php55 security and bug fix update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
  • RHSA-2015:1066 Released 2015-06-04 · Red Hat rating Important
    php54 security and bug fix update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix yet
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2015:1053, RHSA-2015:1066
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-2305
  2. 2026-10-03 Alias added: GHSA-qcm7-3c5w-vhg7

References

Sources