DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh
Debian Bugs806467

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pcre2 (PTS)stretch10.22-3fixed
bullseye, sid10.36-2fixed
pcre3 (PTS)stretch2:8.39-3fixed
bullseye, sid2:8.39-13fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pcre2source(unstable)(not affected)
pcre3sourcesqueeze(not affected)
pcre3sourcewheezy(not affected)


[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

Search for package or bug name: Reporting problems