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
Published
2025-08-28T00:00:00Z
Modified
2025-08-28T19:18:45.583009Z
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
  • 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:Pro:16.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2@10.21-1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.20-1
10.20-2
10.20-3
10.21-1

Ubuntu:Pro:18.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2@10.31-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.22-3
10.22-4
10.22-5
10.22-6
10.31-2
10.31-2ubuntu0.1~esm1

Ubuntu:Pro:20.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2@10.34-7ubuntu0.1?arch=source&distro=esm-infra/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.32-5
10.34-7
10.34-7ubuntu0.1

Ubuntu:22.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2@10.39-3ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.37-0ubuntu2
10.39-3
10.39-3build1
10.39-3ubuntu0.1

Ubuntu:24.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2@10.42-4ubuntu2.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.42-4
10.42-4ubuntu1
10.42-4ubuntu2
10.42-4ubuntu2.1

Ubuntu:25.04 / pcre2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.42-4ubuntu3
10.45-1