CVE-2025-43187 Code injection in macOS

High 7.8 Published Updated

Running an hdiutil command may unexpectedly execute arbitrary code, requiring users to update macOS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-43187?

CVE-2025-43187 is a high-severity code injection vulnerability in Apple Macos, published on 29 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7, macOS Ventura 13.7.7. Running an hdiutil command may unexpectedly execute arbitrary code.

Which versions are affected by CVE-2025-43187?

It affects 1 product.

Products include Apple Macos.

How do I fix CVE-2025-43187?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-43187 being exploited?

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

All Apple Macos vulnerabilities

Sources

Also known as GHSA-xrjg-w3rg-6hjx.

Is CVE-2025-43187 in your software?

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

Check your SBOMs for free