CVE-2015-2305

medium
Published 2015-03-30 · Modified 2026-05-06
CVSS v3
CVSS v2
6.8
VIR risk
6.8

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — http://php.net/ChangeLog-5.php

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2015-2305

OS impact

OSVersionStatusFixed in
debian debiantrixiefixed0
debian debianbullseyefixed0
debian debianforkyfixed0
debian debianbookwormfixed0
debian debiansidfixed0
suse suse13.1affected
suse suse13.2affected
ubuntu ubuntu10.04affected
ubuntu ubuntu12.04affected
ubuntu ubuntu14.04affected
ubuntu ubuntu14.10affected
ubuntu ubuntu15.04affected
debian debian7.0affected
debian debian8.0affected

Application impact

VendorProductVersionsFixed
rxspencer_projectrxspencer3.8.g5
php phpphp{"startIncluding":"5.4.0","endExcluding":"5.4.39"}5.4.39

References

CWEs

CWE-190

Verify integrity in audit chain (admin only). AS-IS.