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.
CVE-2015-2305
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 6.8 — v2 rates that MEDIUM (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:M/Au:N/C:P/I:P/A:P. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 8.9% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- Lower severity and no public exploit yet
A fix is available — apply it.
Internet exposure
The internet-exposure footprint is temporarily unavailable — the KEV-Exposure radar's record for this CVE could not be loaded just now. That is not a finding of zero exposed services; please retry shortly.
- CVSS v2.0 (legacy)
- 6.8MEDIUMNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 6.8MEDIUMlow confidence
- EG Risk
- 51EG Risk 51/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity68% × 45%Exploitation40% × 40%Automatability30% × 15%CISA SSVC: Track at low, Track or Track* at medium and Track* or Attend at high mission impact.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 8.9%
- EPSS %ILE
- 95th
- KEV
- Not listed
CISA SSVCTrack at low, Track or Track* at medium and Track* or Attend at high mission impact.
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (EG-KEV: elevated) · Automatable unknown (not published for this CVE) · Technical impact unknown (not published for this CVE). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
March 30, 2015
Last Modified
May 6, 2026
References (42)
- cve@mitrehttp://blog.clamav.net/2015/04/clamav-0987-has-been-released.html
- cve@mitrehttp://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- cve@mitrehttp://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
- cve@mitrehttp://lists.opensuse.org/opensuse-security-announce/2015-05/msg00026.html
- cve@mitrehttp://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html
- cve@mitrehttp://lists.opensuse.org/opensuse-updates/2015-05/msg00024.html
- cve@mitrehttp://marc.info/?l=bugtraq&m=143403519711434&w=2
- cve@mitrehttp://openwall.com/lists/oss-security/2015/02/07/14
- cve@mitrehttp://openwall.com/lists/oss-security/2015/03/11/8
- cve@mitrehttp://php.net/ChangeLog-5.php
- cve@mitrehttp://rhn.redhat.com/errata/RHSA-2015-1053.html
- cve@mitrehttp://rhn.redhat.com/errata/RHSA-2015-1066.html
- cve@mitrehttp://www.debian.org/security/2015/dsa-3195
- cve@mitrehttp://www.kb.cert.org/vuls/id/695940
- cve@mitrehttp://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
Vendor Advisories for CVE-2015-2305
Vendor advisories for this CVE are temporarily unavailable — the list could not be loaded just now. That is not a sign that none exist; please retry shortly.
Related CVEs
Related CVEs are temporarily unavailable — the same-product, same-vendor and same-CWE lists could not be loaded just now. That is not a sign that none exist; please retry shortly.
Frequently asked(4)
What is CVE-2015-2305?
When was CVE-2015-2305 disclosed?
Is CVE-2015-2305 actively exploited?
How do I remediate CVE-2015-2305?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2015-2305
Is Your Infrastructure Affected by CVE-2015-2305?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.