Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. pcre2
  4. ›
  5. CVE-2022-1587

CVE-2022-1587: Out-of-bounds Read

May 16, 2022 (updated November 7, 2023)

An 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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2077983,
  • github.com/PCRE2Project/pcre2/commit/03654e751e7f0700693526b67dfcadda6b42c9d0
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KAX7767BCUFC7JMDGP7GOQ5GIZCAUGBB/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/
  • nvd.nist.gov/vuln/detail/CVE-2022-1587

Code Behaviors & Features

Detect and mitigate CVE-2022-1587 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.40

Fixed versions

  • 10.40

Solution

Upgrade to version 10.40 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

conan/pcre2/CVE-2022-1587.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.