# CVE-2015-2305: clamav: Integer overflow in the regcomp implementation in the Henry Spencer BSDregex library (aka rxspencer) alpha3.8.g5 on 3...

CVE-2015-2305 is fixed in 9 products on 1 platform, first by clamav 0.98.7+dfsg-0ubuntu1, released March 30, 2015. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2015-2305
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0888
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 30, 2015

## Description

Integer overflow in the regcomp implementation in the Henry Spencer BSDregex library (aka rxspencer) alpha3.8.g5 on 32-bit platforms, as used inNetBSD through 6.1.5 and other products, might allow context-dependentattackers to execute arbitrary code via a large regular expression thatleads to a heap-based buffer overflow.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | clamav Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [clamav 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-clamav-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [clamav 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-clamav-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-base Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [clamav-base 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-clamav-base-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-base Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [clamav-base 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-clamav-base-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-daemon Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [clamav-daemon 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-clamav-daemon-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-daemon Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [clamav-daemon 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-clamav-daemon-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-freshclam Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [clamav-freshclam 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-clamav-freshclam-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-freshclam Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [clamav-freshclam 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-clamav-freshclam-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-milter Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [clamav-milter 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-clamav-milter-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-milter Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [clamav-milter 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-clamav-milter-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-testfiles Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [clamav-testfiles 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-clamav-testfiles-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamav-testfiles Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [clamav-testfiles 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-clamav-testfiles-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamdscan Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [clamdscan 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-clamdscan-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | clamdscan Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [clamdscan 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-clamdscan-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | libclamav11t64 Ubuntu 24.10 (oracular) | 0.98.7+dfsg-0ubuntu1 | [libclamav11t64 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libclamav11t64-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |
| Linux | libclamav12 Ubuntu 25.04 (plucky) | 0.98.7+dfsg-0ubuntu1 | [libclamav12 0.98.7+dfsg-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libclamav12-0.98.7-dfsg-0ubuntu1.md) | Mar 30, 2015 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
