CVE-2025-31187 Privilege escalation in macOS

Medium 5.5 Published Updated

An application can modify protected file system parts, allowing privilege escalation on macOS systems.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-31187?

CVE-2025-31187 is a medium-severity vulnerability in Apple Macos, published on 31 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5, macOS Ventura 13.7.5. An app may be able to modify protected parts of the file system.

Weakness: CWE-284

Which versions are affected by CVE-2025-31187?

It affects 1 product.

Products include Apple Macos.

How do I fix CVE-2025-31187?

No fix has been published for CVE-2025-31187 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-31187 being exploited?

There is no known exploitation of CVE-2025-31187 in the wild and no public exploit code.

All Apple Macos vulnerabilities

Sources

Also known as GHSA-3cxf-3h44-8cxr.

Is CVE-2025-31187 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free