CVE-2015-2305: Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3.8
58
This week
MEDIUM 6.8WATCHLISTDOWNGRADEMITIGATEMITIGATE
CVE-2015-2305 is a medium-severity flaw (CVSS 6.8) affecting rxspencer, ubuntu linux, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2015-2305?
rxspencer: downgrade or apply the listed mitigation; ubuntu linux: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2015-2305 being exploited?
CVE-2015-2305 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2015-2305 affect?
CVE-2015-2305 affects rxspencer, ubuntu linux, debian linux. Severity is medium (CVSS 6.8). 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 ar
How urgent is CVE-2015-2305?
Priority 58/100. EPSS top 5%: very likely to be exploited; Public exploit reference; On your watchlist