CVE-2022-1586

NameCVE-2022-1586
DescriptionAn out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3363-1
Debian Bugs1011954

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pcre2 (PTS)bullseye10.36-2+deb11u1fixed
bookworm10.42-1fixed
trixie10.42-4fixed
sid10.44-4fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pcre2sourcebuster10.32-5+deb10u1DLA-3363-1
pcre2sourcebullseye10.36-2+deb11u1
pcre2source(unstable)10.40-11011954

Notes

[stretch] - pcre2 <no-dsa> (Minor issue)
https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a (pcre2-10.40)
https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c (pcre2-10.40)

Search for package or bug name: Reporting problems