
CVE catalog
CVE-2025-58050
pcre2: CVE-2025-58050
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.80% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pcre2 | sid | 10.48-3.1 | fixed |
| Debian | pcre2 | forky | 10.48-3.1 | fixed |
| Debian | pcre2 | trixie | 10.46-1~deb13u2 | fixed |
| Debian | pcre2 | trixie-security | 10.46-1~deb13u3 | fixed |
| Debian | pcre2 | bookworm | 10.42-1 | not affected |
| Debian | pcre2 | bookworm-security | 10.42-1+deb12u2 | not affected |
| Alpine | pcre2 | 3.22 | 10.46-r0 | fixed |
| Alpine | pcre2 | 3.23 | 10.46-r0 | fixed |
| Alpine | pcre2 | 3.24 | 10.46-r0 | fixed |
| Opensuse | pcre2 | leap 16.0 | 10.45-160000.3.1 | fixed |
| Suse | pcre2 | linux enterprise server 16.0 | 10.45-160000.3.1 | fixed |
| Suse | pcre2 | linux enterprise server for sap applications 16.0 | 10.45-160000.3.1 | fixed |
| Suse | pcre2 | linux micro 6.2 | 10.45-160000.3.1 | fixed |
| Opensuse | pcre2 | tumbleweed | 10.46-1.1 | fixed |
| Ubuntu | pcre2 | 25.04 | 10.42-4ubuntu3 | vulnerable |
| Ubuntu | pcre2 | 25.04 | 10.45-1 | vulnerable |
| Ubuntu | pcre2 | 25.04 | 10.45-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pcre2 | source | sid | 10.46-1 | not yet assigned | Not reported | [1112278] |
| Debian | pcre2 | source | forky | 10.46-1 | not yet assigned | Not reported | [1112278] |
| Debian | pcre2 | source | trixie | 10.46-1~deb13u1 | not yet assigned | Not reported | [1112278] |
| Debian | pcre2 | source | bookworm | Not affected | unimportant | Not reported | [1112278] |
| Alpine | pcre2 | apk | 3.22 | 10.46-r0 | Not reported | ALPINE-CVE-2025-58050 | Not reported |
| Alpine | pcre2 | apk | 3.23 | 10.46-r0 | Not reported | ALPINE-CVE-2025-58050 | Not reported |
| Alpine | pcre2 | apk | 3.24 | 10.46-r0 | Not reported | ALPINE-CVE-2025-58050 | Not reported |
| Opensuse | pcre2 | rpm | leap 16.0 | 10.45-160000.3.1 | Not reported | OPENSUSE-SU-2026:20512-1 | Not reported |
| Suse | pcre2 | rpm | linux enterprise server 16.0 | 10.45-160000.3.1 | Not reported | SUSE-SU-2026:21172-1 | Not reported |
| Suse | pcre2 | rpm | linux enterprise server for sap applications 16.0 | 10.45-160000.3.1 | Not reported | SUSE-SU-2026:21172-1 | Not reported |
| Suse | pcre2 | rpm | linux micro 6.2 | 10.45-160000.3.1 | Not reported | SUSE-SU-2026:21094-1 | Not reported |
| Opensuse | pcre2 | rpm | tumbleweed | 10.46-1.1 | Not reported | OPENSUSE-SU-2025:15501-1 | Not reported |
| Ubuntu | pcre2 | deb | 25.04 | 10.45-1ubuntu0.1 | Not reported | USN-7777-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [libpcre2-16-0]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [libpcre2-16-0-32bit]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [libpcre2-32-0]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [libpcre2-32-0-32bit]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [libpcre2-8-0]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [libpcre2-8-0-32bit]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [libpcre2-posix3]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [libpcre2-posix3-32bit]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [pcre2-devel]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [pcre2-devel-static]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [pcre2-doc]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· noarch · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
- [pcre2-tools]Unknown
Source package: [pcre2]
Details (1)
10.47-1.6· x86_64 · tumbleweedUnknown · Fixed:
10.46-1.1Version impact unknown
dsa · pcre2 · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libpcre2-16-0]Not affected
Source package: [pcre2]
Details (2)
10.42-1· amd64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
10.42-1· arm64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
- [libpcre2-32-0]Not affected
Source package: [pcre2]
Details (2)
10.42-1· amd64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
10.42-1· arm64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
- [libpcre2-8-0]Not affected
Source package: [pcre2]
Details (2)
10.42-1· amd64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
10.42-1· arm64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
- [libpcre2-dev]Not affected
Source package: [pcre2]
Details (2)
10.42-1· amd64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
10.42-1· arm64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
- [libpcre2-posix3]Not affected
Source package: [pcre2]
Details (2)
10.42-1· amd64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
10.42-1· arm64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
- [pcre2-utils]Not affected
Source package: [pcre2]
Details (2)
10.42-1· amd64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
10.42-1· arm64 · bookwormNot affected
dsa · pcre2 · debian · bookworm
[Debian 13 (Trixie)]
- [libpcre2-16-0]Fixed
Source package: [pcre2]
Details (3)
10.46-1~deb13u1· amd64 · trixieFixed · Fixed:
10.46-1~deb13u1dsa · pcre2 · debian · 13
10.46-1~deb13u1· arm64 · trixieFixed · Fixed:
10.46-1~deb13u1dsa · pcre2 · debian · 13
10.46-1~deb13u3· amd64 · trixie-securityFixed · Fixed:
10.46-1~deb13u1dsa · pcre2 · debian · 13
- [libpcre2-32-0]Fixed
Source package: [pcre2]
Details (3)
10.46-1~deb13u1· amd64 · trixieFixed · Fixed:
10.46-1~deb13u1dsa · pcre2 · debian · 13
10.46-1~deb13u1· arm64 · trixieFixed · Fixed:
10.46-1~deb13u1dsa · pcre2 · debian · 13
10.46-1~deb13u3· amd64 · trixie-securityFixed · Fixed:
10.46-1~deb13u1dsa · pcre2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15501-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-58050]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-58050]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21094-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21172-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-58050]
- [https://osv.dev/vulnerability/USN-7777-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15501-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20512-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-58050]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-58050.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1194.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]