CVE-2023-27958
macOS vulnerability analysis and mitigation

Overview

CVE-2023-27958 is a vulnerability in the fixed size array marshaling code of DCERPC library as used in Apple macOS. The vulnerability was discovered by Aleksandar Nikolic of Cisco Talos and fixed in macOS Ventura 13.3, macOS Monterey 12.6.4, and macOS Big Sur 11.7.5, released on March 27, 2023. The vulnerability affects all versions of macOS from Big Sur 11.0 through Ventura 13.3 (Apple Advisory, Cisco Talos).

Technical details

The vulnerability exists in the DCERPC framework's handling of fixed size arrays. A use-after-free condition can occur when memory pointed to by IDLmp is freed without updating IDLleftinbuff, which can lead to memory corruption. The vulnerability has a CVSS v3.1 base score of 9.1 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H) and is classified as CWE-416 (Use After Free) (NVD, Cisco Talos).

Impact

A remote user may be able to cause unexpected system termination or corrupt kernel memory. The vulnerability can be triggered through netlogon RPC service by making an invalid or overly-long RPC request targeting function 0x04 to /var/rpc/ncalrpc/netlogon endpoint directly or over SMB (Apple Advisory, Cisco Talos).

Mitigation and workarounds

Apple has addressed this vulnerability with improved memory handling in macOS Ventura 13.3, macOS Monterey 12.6.4, and macOS Big Sur 11.7.5. Users should update to these or later versions to protect against this vulnerability (Apple Advisory).

Additional resources


SourceThis report was generated using AI

Related macOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-43359CRITICAL9.8
  • macOSmacOS
  • Kernel
NoYesSep 15, 2025
CVE-2025-43358HIGH8.8
  • macOSmacOS
  • Shortcuts
NoYesSep 15, 2025
CVE-2025-43400MEDIUM6.3
  • macOSmacOS
  • FontParser
NoYesSep 29, 2025
CVE-2025-43355MEDIUM5.5
  • macOSmacOS
  • MobileStorageMounter
NoYesSep 15, 2025
CVE-2025-43353MEDIUM5.5
  • macOSmacOS
  • Libinfo
NoYesSep 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management