CVE-2022-1587
NixOS vulnerability analysis and mitigation

Overview

An out-of-bounds read vulnerability (CVE-2022-1587) was discovered in the PCRE2 library, specifically in the getrecursedatalength() function of the pcre2jit_compile.c file. The vulnerability was disclosed in May 2022 and affects recursions in JIT-compiled regular expressions caused by duplicate data transfers. The issue impacts the PCRE2 library and various systems and applications that incorporate it (NVD, MITRE).

Technical details

The vulnerability exists in the PCRE2 library's JIT compilation process, specifically within the getrecursedatalength() function of pcre2jit_compile.c. The issue manifests when handling recursions in JIT-compiled regular expressions, where duplicate data transfers can trigger an out-of-bounds read condition. The vulnerability has been assigned a CVSS v3.1 base score of 9.1 (Critical) with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (NetApp Advisory).

Impact

When successfully exploited, this vulnerability can lead to information disclosure or denial of service (DoS). The high severity rating indicates significant potential impact on system security, particularly concerning the confidentiality and availability of affected systems (NetApp Advisory).

Mitigation and workarounds

The vulnerability was fixed in PCRE2 version 10.40. Various distributions and vendors have released patches to address this issue. For example, Debian released security updates (DLA-3363-1) to fix the vulnerability, and Fedora provided updates for both version 35 and 36 of their pcre2 packages (Debian LTS, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management