{"schemaVersion":3,"id":"CVE-2025-58050","aliases":["ALPINE-CVE-2025-58050","SUSE-SU-2026:21094-1","SUSE-SU-2026:21172-1","PYSEC-2025-259","GHSA-c2gv-xgf5-5cc2","UBUNTU-CVE-2025-58050","USN-7777-1","DEBIAN-CVE-2025-58050","openSUSE-SU-2025:15501-1","openSUSE-SU-2026:20512-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-08-27T18:47:35.041Z","modified":"2025-08-27T19:14:38.145Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.008,"percentile":0.5585,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.008},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.008,"percentile":0.5585}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.008,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.008,"percentile":0.5585}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PCRE2PROJECT_PCRE2","name":"Pcre2","source":"github","url":"https://github.com/PCRE2Project/pcre2/issues/141","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"pcre2","name":"pcre2","label":"pcre2","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/pcre2","purlType":"apk","versions":[{"text":"< 10.46-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.46-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"pcre2","name":"pcre2","label":"pcre2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pcre2","purlType":"deb","versions":[{"text":"< 10.46-1~deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 10.46-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.46-1~deb13u1 | < 10.46-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pcre2","name":"pcre2","label":"pcre2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pcre2","purlType":"deb","versions":[{"text":"< 10.45-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.45-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"pcre","product":"pcre2","name":"pcre2","label":"pcre2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"10.45","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.45","eol":null,"hubHref":"/vendor/pcre/pcre2"},{"vendor":"pcre2project","product":"pcre2","name":"pcre2","label":"pcre2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 10.45","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 10.45","eol":null,"hubHref":"/vendor/pcre2project/pcre2"},{"vendor":"PyPI","product":"pcre2","name":"pcre2","label":"pcre2","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pcre2","purlType":"pypi","versions":[{"text":"≤ 10.45","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 10.45","eol":null,"hubHref":null},{"vendor":"opensuse","product":"pcre2&distro=openSUSE Leap 16.0","name":"pcre2","label":"pcre2&distro=openSUSE Leap 16.0","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/pcre2&distro=openSUSE Leap 16.0","purlType":"rpm","versions":[{"text":"< 10.45-160000.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.45-160000.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"pcre2&distro=openSUSE Tumbleweed","name":"pcre2","label":"pcre2&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/pcre2&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 10.46-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.46-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"pcre2&distro=SUSE Linux Enterprise Server 16.0","name":"pcre2","label":"pcre2&distro=SUSE Linux Enterprise Server 16.0","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/pcre2&distro=SUSE Linux Enterprise Server 16.0","purlType":"rpm","versions":[{"text":"< 10.45-160000.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.45-160000.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"pcre2&distro=SUSE Linux Enterprise Server for SAP applications 16.0","name":"pcre2","label":"pcre2&distro=SUSE Linux Enterprise Server for SAP applications 16.0","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/pcre2&distro=SUSE Linux Enterprise Server for SAP applications 16.0","purlType":"rpm","versions":[{"text":"< 10.45-160000.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.45-160000.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"pcre2&distro=SUSE Linux Micro 6.2","name":"pcre2","label":"pcre2&distro=SUSE Linux Micro 6.2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/pcre2&distro=SUSE Linux Micro 6.2","purlType":"rpm","versions":[{"text":"< 10.45-160000.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.45-160000.3.1","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/PCRE2Project/pcre2/security/advisories/GHSA-c2gv-xgf5-5cc2","label":"github.com/PCRE2Project/pcre2/security/advisories/GHSA-c2gv-xgf5-5cc2","hostname":"github.com","tags":["X Refsource CONFIRM","EVIDENCE","REPORT","Exploit","Vendor Advisory"]},{"url":"https://github.com/PCRE2Project/pcre2/commit/a141712e5967d448c7ce13090ab530c8e3d82254","label":"github.com/PCRE2Project/pcre2/commit/a141712e5967d448c7ce13090ab530c8e3d82254","hostname":"github.com","tags":["X Refsource MISC","FIX","Patch"]},{"url":"https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.46","label":"github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.46","hostname":"github.com","tags":["X Refsource MISC","Advisory","REPORT","Release Notes"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-58050","label":"security.alpinelinux.org/vuln/CVE-2025-58050","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621094-1/","label":"www.suse.com/support/update/announcement/2026/suse-su-202621094-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1248842","label":"bugzilla.suse.com/1248842","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2025-58050","label":"www.suse.com/security/cve/CVE-2025-58050","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621172-1/","label":"www.suse.com/support/update/announcement/2026/suse-su-202621172-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-58050","label":"ubuntu.com/security/CVE-2025-58050","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-58050","label":"www.cve.org/CVERecord?id=CVE-2025-58050","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7777-1","label":"ubuntu.com/security/notices/USN-7777-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-58050","label":"security-tracker.debian.org/tracker/CVE-2025-58050","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-08-27T18:47:35.041Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-27T19:14:38.145Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:13:02.841Z","stale":false,"partial":false}}