{"answers":{"affected":"It affects 13 products.","exploited":"There is no known exploitation of CVE-2022-1586 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-1586 is a critical memory corruption vulnerability in Debian Debian Linux, published on 16 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1586 and fix it if it is affected.\n\nWhat it is: CVE-2022-1586 is a critical memory corruption vulnerability in Debian Debian Linux, published on 16 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1586 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-1586/ (Markdown: https://insights.sbomify.com/CVE-2022-1586/index.md)","id":"CVE-2022-1586","markdown":"https://insights.sbomify.com/CVE-2022-1586/index.md","name":"CVE-2022-1586","record":{"aliases":["ALPINE-CVE-2022-1586","ALSA-2022:5809","CLEANSTART-2024-KR97455","DEBIAN-CVE-2022-1586","GHSA-f3pv-9fwh-mp3x","RHSA-2022:5809","RLSA-2022:5809","SUSE-RU-2022:1883-1","SUSE-SU-2022:1836-1","SUSE-SU-2022:1883-1","SUSE-SU-2022:2334-1","SUSE-SU-2022:2360-1","SUSE-SU-2022:2361-1","UBUNTU-CVE-2022-1586","openSUSE-SU-2022:2361-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PCRE2 library","requires_auth":"none","summary":"An out-of-bounds read in PCRE2's JIT compiler allows attackers to cause denial of service or disclose sensitive memory contents via crafted regex patterns.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410c_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"hci_management_node","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"solidfire","vendor":"netapp"},{"product":"pcre2","vendor":"pcre"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":9.1,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"An 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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Availability Extension 12 SP3","SUSE:Linux Enterprise High Availability Extension 12 SP4","SUSE:Linux Enterprise High Availability Extension 12 SP5","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in pcre2","id":"CVE-2022-1586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","netapp:active_iq_unified_manager","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500s_firmware","netapp:h700s_firmware","netapp:hci_management_node","netapp:ontap_select_deploy_administration_utility","netapp:solidfire","redhat:enterprise_linux"],"type":"memory_corruption","year":"2022"},"n_packages":105,"n_references":9,"next":{"headline":"Memory corruption in pcre2","id":"CVE-2022-1587"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/almalinux/pcre2","source":"ALSA-2022:5809"},{"ecosystem":"AlmaLinux:8","fixed":["10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-devel","purl":"pkg:rpm/almalinux/pcre2-devel","source":"ALSA-2022:5809"},{"ecosystem":"AlmaLinux:8","fixed":["10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-tools","purl":"pkg:rpm/almalinux/pcre2-tools","source":"ALSA-2022:5809"},{"ecosystem":"AlmaLinux:8","fixed":["10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf16","purl":"pkg:rpm/almalinux/pcre2-utf16","source":"ALSA-2022:5809"},{"ecosystem":"AlmaLinux:8","fixed":["10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf32","purl":"pkg:rpm/almalinux/pcre2-utf32","source":"ALSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/redhat/pcre2","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-debuginfo","purl":"pkg:rpm/redhat/pcre2-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-debugsource","purl":"pkg:rpm/redhat/pcre2-debugsource","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-devel","purl":"pkg:rpm/redhat/pcre2-devel","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-tools-debuginfo","purl":"pkg:rpm/redhat/pcre2-tools-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf16","purl":"pkg:rpm/redhat/pcre2-utf16","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf16-debuginfo","purl":"pkg:rpm/redhat/pcre2-utf16-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf32","purl":"pkg:rpm/redhat/pcre2-utf32","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf32-debuginfo","purl":"pkg:rpm/redhat/pcre2-utf32-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-debuginfo","purl":"pkg:rpm/redhat/pcre2-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-debugsource","purl":"pkg:rpm/redhat/pcre2-debugsource","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-tools","purl":"pkg:rpm/redhat/pcre2-tools","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-tools-debuginfo","purl":"pkg:rpm/redhat/pcre2-tools-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf16-debuginfo","purl":"pkg:rpm/redhat/pcre2-utf16-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2-utf32-debuginfo","purl":"pkg:rpm/redhat/pcre2-utf32-debuginfo","source":"RHSA-2022:5809"},{"ecosystem":"Rocky Linux:8","fixed":["0:10.32-3.el8_6"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/rocky-linux/pcre2?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:5809"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["8.45-150000.20.13.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:2361-1"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["10.31-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:1883-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["8.45-150000.20.13.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:2361-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["10.31-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:1883-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["8.45-8.12.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:2334-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["10.34-1.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:1836-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP3","fixed":["8.45-8.12.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP3","source":"SUSE-SU-2022:2334-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP4","fixed":["8.45-8.12.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP4","source":"SUSE-SU-2022:2334-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP5","fixed":["8.45-8.12.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP5","source":"SUSE-SU-2022:2334-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["8.45-150000.20.13.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:2361-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["10.31-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:1883-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["8.45-150000.20.13.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:2361-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["10.31-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:1883-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["8.45-150000.20.13.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:2361-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["10.31-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:1883-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["8.45-150000.20.13.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:2361-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["10.31-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:1883-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["8.45-150000.20.13.1"],"introduced":["0"],"last_affected":[],"package":"pcre","purl":"pkg:rpm/suse/pcre\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:2361-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["10.31-150000.3.7.1"],"introduced":["0"],"last_affected":[],"package":"pcre2","purl":"pkg:rpm/suse/pcre2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:1883-1"}],"prev":{"headline":"Project Source Code Download \u003c= 1.0.0 - Unauthenticated Backup Download","id":"CVE-2022-1585"},"products":["pcre2"],"published":"2022-05-16","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-03-06","vendors":["n/a"]},"summary":"An out-of-bounds read in PCRE2's JIT compiler allows attackers to cause denial of service or disclose sensitive memory contents via crafted regex patterns.","url":"https://insights.sbomify.com/CVE-2022-1586/"}