CVE-2023-40438: Buffer Overflow

Published Sep 21, 2023
·
Updated

Airport. A permissions issue was addressed with improved redaction of sensitive information.

Other sources

AMD. A buffer overflow issue was addressed with improved memory handling.

— Apple

AMD. The issue was addressed with improved memory handling.

— Apple

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.

— MITRE

App Store. The issue was addressed with improved handling of protocols.

— Apple

Apple Neural Engine. An out-of-bounds read was addressed with improved input validation.

— Apple

Credit

Wojciech Regula(SecuRing), w0wbox, pattern-f@@pattern_F_(Ant Security Light), Chris Ross (Zoom), Liang Wei(PixiePoint Security), 이준성(Junsung Lee)(Cross Republic), Csaba Fitzl@@theevilbit(Offensive Security), Mickey Jin@@patch1t, Pan ZhenPeng@@Peterpan0927(STAR Labs SG Pte), Linus Henze(Pinauten GmbH), Bill Marczak(The Citizen Lab at The University of Toronto's Munk School), Maddie Stone(Google's Threat Analysis Group), Zhipeng Huo@@R3dF09(Tencent Security Xuanwu Lab), Dohyun Lee@@l33d0hyun(PK Security), an anonymous researcher, weize she, Certik Skyfall Team, Adriatik Raci(Sentry Cybersecurity), Kirin@@Pwnrin, Mohamed GHANNAM@@_simo36, Tim Michaud@@TimGMichaud(Moveworks), Wojciech Reguła@@_r3ggi, zer0k, Yiğit Can YILMAZ@@yilmazcanyigit, Koh M. Nakagawa@@tsunek0h, Adam M., Noah Roskin-Frazee, Professor Jason Lau (ZeroClicks.ai Lab), Yishu Wang, Will Brattain at Trail(Bits), Cristian Dinca(Computer Science), Romania, JeongOhKyea(Theori), Kirin@@Pwnrin(NorthSea), Halle Winkler, Politepix@@hallewinkler, Sei K., Noah Roskin-Frazee(Offensive Security), Pr(Offensive Security), (Offensive Security), Antonio Zekic@@antoniozekic(Dataflow Security), Ron Masas(Imperva), Murray Mike, Mikko Kenttälä )@@Turmio_(SensorFu), Certik Skyfall Team(Ant Security Light), (Ant Security Light), Zweig(Kunlun Lab), Michael (Biscuit) Thomas, 张师傅(@京东蓝军), Joseph Ravichandran@@0xjprx(MIT CSAIL), Ferdous Saljooki@@malwarezoo(Jamf Software), Adam M.(SecuRing), (SecuRing), Adam M.(BreakPoint Security Research), (BreakPoint Security Research), Ron Masas(BreakPoint Security Research), Meng Zhang (鲸落)(NorthSea), Brian McNulty(Texts), (Texts), Kishan Bagaria(Texts), Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), Gergely Kalman@@gergely_kalman, baba yaga, Berke Kırbaş, Harsh Jaiswal, Serkan Erayabakan(George Mason University), David Kotval(George Mason University), Akincibor(George Mason University), Sina Ahmadi(George Mason University), Billy Tabrizi, Kirin@@Pwnrin(SecuRing), Tomi Tokics@@tomitokics(iTomsn0w), Luan Herrera@@lbherrera_, Narendra Bhati (twitter.com/imnarendrabhati)(Suma Soft Pvt), Pune (India), Noah Roskin-Frazee (ZeroClicks.ai Lab), James Duffy (mangoSecure), Ron Masas(BreakPoint), James Hutchins, Thijs Alkemade@@xnyhps(Computest Sector 7), Andrew Haggard, Brian McNulty(Offensive Security), Arsenii Kostromin (0x3c3e)(Offensive Security), Joshua Jewett@@JoshJewett33(Offensive Security), Francisco Alonso@@revskills(PK Security), (PK Security), Francisco Alonso@@revskills, Jie Ding@@Lime(HKUS3 Lab), Dong Jun Kim@@smlijun(AbyssLab), Jong Seong Kim@@nevul37(AbyssLab), zhunki, 이준성(Junsung Lee), Claire Houston, Anonymous, (AbyssLab), Wang Yu(Cyberserval), An anonymous researcher(MacEnhance), Jeremy Legendre(MacEnhance), Felix Kratz, ABC Research s.r.o., Mikko Kenttälä )@@Turmio_(SensorFu)

Affected Software

6 affected componentsFixes available
Apple macOS<14
14
Apple iOS and iPadOS<16.7
16.7
Apple iOS, iPadOS, and macOS<16.7
16.7
Apple iOS, iPadOS, and macOS<16.7
iPhone OS<16.7
macOS<14.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 14
  2. Upgrade

    Upgrade Apple iOS and iPadOS to a version that resolves this vulnerability.

    Fixed in 16.7
  3. Upgrade

    Upgrade Apple iOS, iPadOS, and macOS to a version that resolves this vulnerability.

    Fixed in 16.7
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.7
  6. Upgrade

    Upgrade macOS to a version that resolves this vulnerability.

    Fixed in 14
  7. Upgrade

    Upgrade iOS to a version that resolves this vulnerability.

    Fixed in 16.7
  8. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 16.7

Event History

Sep 21, 2023
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Jan 10, 2024
CVE Published
via MITRE·10:03 PM
Data Sourced
via MITRE·10:03 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2023-40438?

CVE-2023-40438 has a severity rating that indicates it poses a significant risk due to the buffer overflow and permissions issues.

2

How do I fix CVE-2023-40438?

To fix CVE-2023-40438, users should update their devices to the latest versions of iOS, iPadOS, or macOS Sonoma as recommended by Apple.

3

What versions are affected by CVE-2023-40438?

CVE-2023-40438 affects iOS and iPadOS versions up to 16.7 and macOS versions up to 14.0.

4

What type of vulnerabilities does CVE-2023-40438 address?

CVE-2023-40438 addresses vulnerabilities related to permissions, buffer overflow, and improved handling of temporary files.

5

Is CVE-2023-40438 specific to certain Apple products?

Yes, CVE-2023-40438 specifically affects Apple products, including iPhone, iPad, and Mac devices.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203