CVE-2023-40438: Apple iOS and iPadOS · An app may be able to access edited photos saved to a temporary directory
Affects Apple iOS and iPadOSSource CVE Database V5
Not known to be exploited · CVSS 5.5 Medium : upgrade to 16.7 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 16.7
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade Apple iOS and iPadOS to 16.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apple iOS and iPadOS | Affected
| Fixed in
|
AI-suggested
1. Immediately update all Apple devices to iOS 16.7, iPadOS 16.7, or macOS Sonoma 14 or later to apply the official fix. 2. Implement strict app vetting policies to limit installation of untrusted or unnecessary apps that could exploit this vulnerability. 3. Restrict app permissions related to file system and photo access, ensuring apps only have access to necessary data. 4. Educate users on the risks of granting permissions and encourage cautious behavior when interacting with apps that request access to photos or files. 5. Employ Mobile Device Management (MDM) solutions to enforce update compliance and monitor app behaviors related to file access. 6. Regularly audit installed apps and their permissions to detect any anomalous access patterns. 7. For highly sensitive environments, consider restricting the use of personal devices or enforcing strict separation of personal and corporate data. 8. Monitor security advisories for any emerging exploits related to this vulnerability and be prepared to respond rapidly.
Description
An issue was addressed with improved handling of temporary files. This issue is fixed in macOS Sonoma 14, iOS 16.7 and iPadOS 16.7. An app may be able to access edited photos saved to a temporary directory.