CVE-2025-5255CWE-276

TCC Bypass via Dylib Injection in Phoenix Code

Medium · published June 20, 2025

CVSS v4.0
4.8
EPSS
0%
Percentile
15.4
In the wild
Unconfirmed
What it is

The Phoenix Code's configuration on macOS, specifically the presence of entitlements: "com.apple.security.cs.allow-dyld-environment-variables" and "com.apple.security.cs.disable-library-validation" allows for Dynamic Library (Dylib) injection. A local attacker with unprivileged access can use environment variables like DYLD_INSERT_LIBRARIES to successfully inject code in application's context and bypass Transparency, Consent, and Control (TCC). Acquired resource access is limited to previously granted permissions by the user. Access to other resources beyond granted-permissions requires user interaction with a system prompt asking for permission.

This issue was fixed in commit 0c75fb57f89d0b7d9b180026bc2624b7dcf807da

The record
Technical detail
CVSS v4.0
4.8 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS
0.00250 · 15.4th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2025-06-20T10:01Z
EPSS history
Timeline
  • 20 JUN 10:01Z
    TCC Bypass via Dylib Injection in Phoenix Code
    cvelistv5