Name | CVE-2015-8380 |
Description | The pcre_exec function in pcre_exec.c in PCRE before 8.38 mishandles a // pattern with a \01 string, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 806467 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pcre2 (PTS) | bullseye | 10.36-2+deb11u1 | fixed |
| bookworm | 10.42-1 | fixed |
| sid, trixie | 10.42-4 | fixed |
pcre3 (PTS) | bullseye | 2:8.39-13 | fixed |
| bookworm | 2:8.39-15 | fixed |
| sid | 2:8.39-15.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
pcre2 | source | (unstable) | (not affected) | | | |
pcre3 | source | squeeze | (not affected) | | | |
pcre3 | source | wheezy | (not affected) | | | |
pcre3 | source | jessie | 2:8.35-3.3+deb8u2 | | | |
pcre3 | source | (unstable) | 2:8.38-1 | | | 806467 |
Notes
[wheezy] - pcre3 <not-affected> (Vulnerable code not present)
For wheezy: same code looks present around patched lines, though the
reproducer does not lead to a crash, and just gives
"Matched, but too many substrings"
[squeeze] - pcre3 <not-affected> (Vulnerable code not present)
Fixed in 8.38 upstream
- pcre2 <not-affected> (Vulnerable code not present)
Commit: http://vcs.pcre.org/pcre?view=revision&revision=1565
https://bugs.exim.org/show_bug.cgi?id=1637
https://blog.fuzzing-project.org/29-Heap-Overflow-in-PCRE.html