CVE-2021-30939
macOS vulnerability analysis and mitigation

Overview

An out-of-bounds read vulnerability (CVE-2021-30939) was discovered in the DDS image parsing functionality of Apple's ImageIO library. The vulnerability affects multiple Apple operating systems including macOS Big Sur 11.6.2, tvOS 15.2, macOS Monterey 12.1, Security Update 2021-008 Catalina, iOS 15.2 and iPadOS 15.2, and watchOS 8.3. The issue was discovered by Mickey Jin of Trend Micro, Jaewon Min of Cisco Talos, and Rui Yang and Xingwei Lin of Ant Security Light-Year Lab (Apple Security).

Technical details

The vulnerability exists in the DDS image parsing functionality of the ImageIO library. When processing a specially-crafted DDS file, an out-of-bounds read can occur due to improper bounds checking. The root cause is that decoding starts at file offset +0x80, but ImageIO checks against the entire image file size instead of the actual image data size (file size - 0x80). The vulnerability has a CVSS v3.1 base score of 7.8 HIGH (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) (NVD, Cisco Talos).

Impact

By exploiting this vulnerability, an attacker can disclose sensitive memory content which could aid in the exploitation of other vulnerabilities. The contents of the heap can be directly rendered as pixels, potentially leaking heap addresses and other sensitive information that could assist further exploitation if leaked data can be accessed in a vulnerable application context (Cisco Talos).

Mitigation and workarounds

Apple has addressed this vulnerability by improving bounds checking in affected operating systems. The fix was released in December 2021 as part of multiple security updates including macOS Monterey 12.1, macOS Big Sur 11.6.2, Security Update 2021-008 Catalina, iOS 15.2 and iPadOS 15.2, tvOS 15.2, and watchOS 8.3 (Apple Security).

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