Description
Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38 allows remote attackers to cause a denial of service (crash) or obtain sensitive information from heap memory and possibly bypass the ASLR protection mechanism via a crafted regular expression with an excess closing parenthesis.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | pcre3 | 2:8.35-7 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | pcre3 | 1:8.31-2ubuntu2.1 | USN-2943-1, USN-2694-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | pcre +3 | 8.32-15.el7_2.1 | RHSA-2016:1025 |
| RHEL 2 | rh-mariadb100-mariadb +8 | 1:10.0.25-4.el6 | RHSA-2016:1132 |
| RHEL 2 | rh-php56 +2 | 2.3-1.el6 | RHSA-2016:2750 |
| RHEL 2 | rh-php56-php +27 | 5.6.25-1.el6 | RHSA-2016:2750 |
| RHEL 2 | rh-php56-php-pear | 1:1.9.5-4.el6 | RHSA-2016:2750 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | pcre | 8.39-5.1 | SUSE-SU-2016:3161-1, SUSE-SU-2016:2971-1 |
| SLES 12 SP1 | pcre | 8.39-5.1 | SUSE-SU-2016:3161-1, SUSE-SU-2016:2971-1 |
| SLES 12 | pcre | 8.39-7.1 | SUSE-SU-2016:3161-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | pcre | 8.39-5.1 | SUSE-SU-2016:3161-1, SUSE-SU-2016:2971-1 |
| SLES for SAP 12 SP1 | pcre | 8.39-5.1 | SUSE-SU-2016:3161-1, SUSE-SU-2016:2971-1 |
| SLES for SAP 12 | pcre | 8.39-7.1 | SUSE-SU-2016:3161-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | pcre +3 | 8.32-15.el7_2.1 | ELSA-2016-1025 |
Advisories 9
- RHSA-2016:2750 Red Hat Security Advisory: rh-php56 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2016:1132 Red Hat Security Advisory: rh-mariadb100-mariadb security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2016:1025 Red Hat Security Advisory: pcre security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- USN-2943-1 pcre3 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-2694-1 pcre3 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2016:3161-1 Security update for pcre SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2971-1 Security update for pcre SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1393 Perl: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jul 3, 2023
- ELSA-2016-1025 Important: pcre security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 11, 2016
References
- 75430 vdb-entry
- RHSA-2016:1132 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
- RHSA-2016:1025 vendor-advisory
- RHSA-2016:2750 vendor-advisory
- [oss-security] 20150626 CVE Request: PCRE Library Heap Overflow Vulnerability in find_fixedlength() mailing-list
- [oss-security] 20150626 Re: CVE Request: PCRE Library Heap Overflow Vulnerability in find_fixedlength() mailing-list
- https://bugs.exim.org/show_bug.cgi?id=1651
- 1033154 vdb-entry
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?revision=1609&view=markup
- http://vcs.pcre.org/pcre?view=revision&revision=1571
- GLSA-201607-02 vendor-advisory