Safeguard
Vulnerability Analysis•

CVE-2023-42892: High FileURL Use After Free in macOS

CVE-2023-42892 is a high (7.8) macOS FileURL use-after-free that lets a local user gain privileges. Fixed in Sonoma 14.2, Ventura 13.6.3, Monterey 12.7.2.

Safeguard Security Team
3 min read

CVE-2023-42892 is a high severity (CVSS 7.8) use-after-free in the FileURL component of macOS. A local attacker may be able to elevate their privileges. Apple fixed it in macOS Sonoma 14.2, Ventura 13.6.3 and Monterey 12.7.2. Update Macs on any of those lines to at least these versions.

What's affected

The record lists macOS, with fixes in macOS Ventura 13.6.3, macOS Sonoma 14.2 and macOS Monterey 12.7.2. Apple published a bulletin for each of the three, and each lists a FileURL entry with the impact "A local attacker may be able to elevate their privileges" and the description "A use-after-free issue was addressed with improved memory management". The entries were added on March 22, 2024.

The weakness is CWE-416, a use-after-free. Apple's updates shipped earlier, in December 2023, so a Mac that took those releases is already covered.

One thing in the vector is worth noting: the record shows a low privilege account is needed, not none. The attacker is already on the machine.

How to check if you're exposed

On a Mac, the Terminal can print the installed macOS version and list pending updates:

sw_vers
softwareupdate --list

About This Mac in the Apple menu shows the same version number.

What to do now

  1. Update Sonoma Macs to 14.2 or later, Ventura Macs to 13.6.3 or later and Monterey Macs to 12.7.2 or later.
  2. Remove local admin rights from users who do not need them, which limits what an escalation can reach.
  3. Review shared Macs, such as lab or kiosk machines, which are the likeliest places for hostile local code.
  4. Report on the installed macOS build across your fleet and list anything below the fixed numbers.
  5. Re-check after the next monthly update, since lagging devices often miss two in a row.

Why it matters

Use-after-free bugs happen when code keeps using memory after it has been released. If the attacker can control what lands in that memory, they can steer the program. The weakness class here is CWE-416, and the effect is local privilege escalation to full control of the Mac.

The record's vector needs a low privilege account and no user interaction, with high impact on confidentiality, integrity and availability. In practice this is a second stage bug: first something runs as a normal user, then it uses a flaw like this to become root. Patching shortens the chain. The KEV flag is false.

Try it yourself

Click through it at your own pace, or open it full screen.

Quick check

Do all three macOS lines need an update?

Each line has its own fixed version: Sonoma 14.2, Ventura 13.6.3 and Monterey 12.7.2. A Mac only needs the one that matches its release line.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

We email you a link to confirm, and only then add you to the list. Unsubscribe in one click. Privacy

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.