CVE-2025-58050
published medium CVSS 4.0 · 6.9PCRE2: heap-buffer-overflow read in match_ref due to missing boundary restoration in SCS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PCRE2Project | — | pcre2= 10.45 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | pcre2 | Fixed | 10.46-r0 | Package fix record |
| Ubuntu | plucky | pcre2 | Advisory build | 10.45-1ubuntu0.1 | USN-7777-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-16-0aarch64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| Alpine Linux | v3.22 | pcre2 | Fixed | 10.46-r0 | Package fix record |
| Alpine Linux | v3.23 | pcre2 | Fixed | 10.46-r0 | Package fix record |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | pcre2 | Fixed | 10.46-r0 | Package fix record |
| SUSE / openSUSE | SLE-16 | libpcre2-16-0ppc64le | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-16-0s390x | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-16-0x86_64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-32-0aarch64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-32-0ppc64le | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-32-0s390x | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-32-0x86_64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-8-0aarch64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-8-0ppc64le | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-8-0s390x | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-8-0x86_64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-posix3aarch64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-posix3ppc64le | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-posix3s390x | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | libpcre2-posix3x86_64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-develaarch64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-develppc64le | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-devels390x | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-develx86_64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-devel-staticaarch64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-devel-staticppc64le | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-devel-statics390x | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-devel-staticx86_64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-docnoarch | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-toolsaarch64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-toolsppc64le | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-toolss390x | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | SLE-16 | pcre2-toolsx86_64 | Advisory build | 10.45-160000.3.1 | SUSE-SU-2026:21172-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-16-0aarch64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-16-0ppc64le | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-16-0s390x | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-16-0x86_64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-32-0aarch64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-32-0ppc64le | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-32-0s390x | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-32-0x86_64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-8-0aarch64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-8-0ppc64le | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-8-0s390x | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-8-0x86_64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-posix3aarch64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-posix3ppc64le | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-posix3s390x | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libpcre2-posix3x86_64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-develaarch64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-develppc64le | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-devels390x | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-develx86_64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-devel-staticaarch64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-devel-staticppc64le | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-devel-statics390x | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-devel-staticx86_64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-docnoarch | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-toolsaarch64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-toolsppc64le | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-toolss390x | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | pcre2-toolsx86_64 | Advisory build | 10.45-160000.3.1 | OPENSUSE-SU-2026:20512-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0aarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0ppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0s390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0x86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0-32bitaarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0-32bitppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0-32bits390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-16-0-32bitx86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0aarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0ppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0s390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0x86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0-32bitaarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0-32bitppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0-32bits390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-32-0-32bitx86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0aarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0ppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0s390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0x86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0-32bitaarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0-32bitppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0-32bits390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-8-0-32bitx86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3aarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3ppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3s390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3x86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3-32bitaarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3-32bitppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3-32bits390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpcre2-posix3-32bitx86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pcre2-develaarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pcre2-develppc64le | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pcre2-devels390x | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pcre2-develx86_64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pcre2-devel-staticaarch64 | Advisory build | 10.46-1.1 | OPENSUSE-SU-2025:15501-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The PCRE2 library is a set of C functions that implement regular expression pattern matching. In version 10.45, a heap-buffer-overflow read vulnerability exists in the PCRE2 regular expression matching engine, specifically within the handling of the (*scs:...) (Scan SubString) verb when combined with (*ACCEPT) in src/pcre2_match.c. This vulnerability may potentially lead to information disclosure if the out-of-bounds data read during the memcmp affects the final match result in a way observable by the attacker. This issue has been resolved in version 10.46.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:L/SI:N/SA:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PCRE2Project | pcre2 | = 10.45 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-125 CWE-125: Out-of-bounds Read
- CWE-122 CWE-122: Heap-based Buffer Overflow
References
3Provider assertions
2GitHub_M · cna
PCRE2: heap-buffer-overflow read in match_ref due to missing boundary restoration in SCS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2a99e19ab5c1896476f3dad0dedfb661363ee4138de3856bdc5603c1eea3515a
- Ingested
- 23 Sep 2026, 08:53:54 UTC
- Source record
- Official CVE record