CVE-2015-2325
The compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a denial of service (out-of-bounds heap read and crash), or possibly have other unspecified impact via a regular expression with a group containing a forward reference repeated a large number of times within a repeated outer group that has a zero minimum quantifier.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | pcre3 | Fixed | 1:8.31-2ubuntu2.1 | UBUNTU-CVE-2015-2325 |
| Debian 12 | pcre3 | Fixed | 2:8.35-7.2 | DEBIAN-CVE-2015-2325 |
| Red Hat Enterprise Linux 7 | pcre | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre-static | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre-tools | Not affected | ||
| Red Hat Enterprise Linux 6 | pcre | Not affected | ||
| Red Hat Enterprise Linux 6 | pcre-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | pcre-static | Not affected | ||
| Red Hat Enterprise Linux 5 | pcre | Not affected |
References
- http://lists.opensuse.org/opensuse-updates/2015-05/msg00014.html
- https://bugs.exim.org/show_bug.cgi?id=1591
- https://www.pcre.org/original/changelog.txt
- https://fortiguard.com/zeroday/FG-VD-15-015
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.