{"id":"CVE-2022-1586","state":"PUBLISHED","title":"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 prope","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.","publishedAt":"2022-05-16T00:00:00.000Z","updatedAt":"2025-03-06T08:18:54.168Z","severity":null,"assigner":"redhat","products":["n/a pcre2"],"affected":[{"vendor":"n/a","product":"pcre2","versions":[{"version":"Fixed in pcre2-10.40.","status":"affected"}]}],"references":["https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/","https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C","https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a%2C","https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAX7767BCUFC7JMDGP7GOQ5GIZCAUGBB/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXINO3KKI5DICQ45E2FKD6MKVMGJLEKJ/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWNG2NS3GINO6LQYUVC4BZLUQPJ3DYHA/","https://security.netapp.com/advisory/ntap-20221028-0009/","https://lists.debian.org/debian-lts-announce/2023/03/msg00014.html","https://bugzilla.redhat.com/show_bug.cgi?id=2077976","https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:49:29.138Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/1xxx/CVE-2022-1586.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-1586","state":"PUBLISHED","datePublished":"2022-05-16T00:00:00.000Z","dateUpdated":"2025-03-06T08:18:54.168Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-05-05T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"pcre2","versions":[{"version":"Fixed in pcre2-10.40.","status":"affected"}]}],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/","name":"FEDORA-2022-e56085ba31","tags":["vendor-advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C"},{"url":"https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a%2C"},{"url":"https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAX7767BCUFC7JMDGP7GOQ5GIZCAUGBB/","name":"FEDORA-2022-a3edad0ab6","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXINO3KKI5DICQ45E2FKD6MKVMGJLEKJ/","name":"FEDORA-2022-19f4c34184","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWNG2NS3GINO6LQYUVC4BZLUQPJ3DYHA/","name":"FEDORA-2022-9c9691d058","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221028-0009/"},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00014.html","name":"[debian-lts-announce] 20230316 [SECURITY] [DLA 3363-1] pcre2 security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"CWE-125 - Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2023-03-16T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2077976"},{"url":"https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/","name":"FEDORA-2022-e56085ba31","tags":["vendor-advisory","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C","tags":["x_transferred"]},{"url":"https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a%2C","tags":["x_transferred"]},{"url":"https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAX7767BCUFC7JMDGP7GOQ5GIZCAUGBB/","name":"FEDORA-2022-a3edad0ab6","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXINO3KKI5DICQ45E2FKD6MKVMGJLEKJ/","name":"FEDORA-2022-19f4c34184","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWNG2NS3GINO6LQYUVC4BZLUQPJ3DYHA/","name":"FEDORA-2022-9c9691d058","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221028-0009/","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00014.html","name":"[debian-lts-announce] 20230316 [SECURITY] [DLA 3363-1] pcre2 security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-03-06T08:18:54.168Z"},"x_generator":{"engine":"ADPogram 0.0.1"}}]}}}