CVE-2022-1587

NameCVE-2022-1587
DescriptionAn out-of-bounds read vulnerability was discovered in the PCRE2 library in the get_recurse_data_length() function of the pcre2_jit_compile.c file. This issue affects recursions in JIT-compiled regular expressions caused by duplicate data transfers.
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
sid, trixie10.42-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/03654e751e7f0700693526b67dfcadda6b42c9d0 (pcre2-10.40)

Search for package or bug name: Reporting problems