UBUNTU-CVE-2025-58050

Source
https://ubuntu.com/security/CVE-2025-58050
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58050.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-58050
Upstream
Downstream
Related
Published
2025-08-27T19:15:00Z
Modified
2025-09-26T05:16:37Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:25.04 / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2@10.45-1ubuntu0.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.45-1ubuntu0.1

Affected versions

10.*

10.42-4ubuntu3
10.45-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libpcre2-16-0",
            "binary_version": "10.45-1ubuntu0.1"
        },
        {
            "binary_name": "libpcre2-32-0",
            "binary_version": "10.45-1ubuntu0.1"
        },
        {
            "binary_name": "libpcre2-8-0",
            "binary_version": "10.45-1ubuntu0.1"
        },
        {
            "binary_name": "libpcre2-dev",
            "binary_version": "10.45-1ubuntu0.1"
        },
        {
            "binary_name": "libpcre2-posix3",
            "binary_version": "10.45-1ubuntu0.1"
        },
        {
            "binary_name": "pcre2-utils",
            "binary_version": "10.45-1ubuntu0.1"
        }
    ]
}