CVE-2025-31204: Double Free

Published May 12, 2025
·
Updated

afpfs. The issue was addressed with improved memory handling.

Other sources

afpfs. This issue was addressed with improved checks.

— Apple

Apple Intelligence Reports. A permissions issue was addressed with additional restrictions.

— Apple

AppleJPEG. The issue was addressed with improved input sanitization.

— Apple

Audio. A double free issue was addressed with improved memory management.

— Apple

Baseband. This issue was addressed through improved state management.

— Apple

Credit

Hossein Lotfi@@hosselot(Trend Micro Zero Day Initiative), 秦若涵, 崔志伟, 崔宝江, Deval Jariwala, Guilherme Rambo(Best Buddy Apps), Dalibor Milanovic, CVE-2024-8176, Andrew James Gonzalez, Saagar Jha, Dayton Pidhirney(Atredis Partners), Lyutoon, YenKoc, Tony Iskow@@Tybbow, Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), Lucas Leong@@_wmliang_(Trend Micro Zero Day Initiative), YingQi Shi@@Mas0nShi(DBAppSecurity's WeBin lab), Duy Trần@@khanhduytran0, Paweł Płatek (Trail(Bits), Richard Hyunho Im@@richeeta, Andr.Ess, wac, Shehab Khan, Christian Kohlschütter, CertiK@@CertiK, Dave G., Eric Dorphy(Twin Cities App Dev LLC), Andreas Jaegersberger & Ro Achterberg(Nosebeard Labs), wac(Trend Micro Zero Day Initiative), Google V8 Security Team, rheza@@ginggilBesel(Palo Alto Networks), Edouard Bochin@@le_douds(Palo Alto Networks), Tao Yan@@Ga1ois(Palo Alto Networks), Nan Wang@@eternalsakura13, Joseph Ravichandran@@0xjprx(MIT CSAIL), Thomas Völkl@@vollkorntomate, SEEMOO, TU Darmstadt, Dillon Franke(Google Project Zero), Kirin@@Pwnrin(Fudan University), LFY@@secsys(Fudan University), an anonymous researcher, Bohdan Stasiuk@@bohdan_stasiuk, Adam M., CVE-2025-26465, CVE-2025-26466, Sourabhkumar Mishra, Csaba Fitzl@@theevilbit(Kandji), Ryan Dowd@@_rdowd, @@RenwaX23, Kirin@@Pwnrin, 7feilee, Jiming Wang, Jikai Ren, Noah Gregory (wts.dev), Apple, Google Threat Analysis Group

Affected Software

32 affected componentsFixes available
Apple Safari<18.5
Apple iPadOS<18.5
Apple iPhone OS<18.5
Apple macOS<15.5
Apple tvOS<18.5
Apple visionOS<2.5
Apple WatchOS<11.5
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-source*
ubuntu/webkitgtk*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-opensource-src*
ubuntu/qtwebkit-source*
ubuntu/webkitgtk*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-opensource-src*
ubuntu/wpewebkit*
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk<2.48.3-0ubuntu0.22.04.1
2.48.3-0ubuntu0.22.04.1
ubuntu/wpewebkit*
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk<2.48.3-0ubuntu0.24.04.1
2.48.3-0ubuntu0.24.04.1
Apple iOS<18.5
18.5
Apple iPadOS<18.5
18.5
Apple macOS Sequoia<15.5
15.5
Apple Safari<18.5
18.5
Apple tvOS<18.5
18.5
Apple visionOS<2.5
2.5
Apple WatchOS<11.5
11.5
debian/webkit2gtk
2.48.3-1~deb11u12.48.3-1~deb12u12.48.2-1
debian/wpewebkit<=2.38.6-1
2.48.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.48.3-0ubuntu0.22.04.1
  2. Upgrade

    Upgrade ubuntu/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.48.3-0ubuntu0.24.04.1
  3. Upgrade

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

    Fixed in 18.5
  4. Upgrade

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

    Fixed in 15.5
  5. Upgrade

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

    Fixed in 2.5
  6. Upgrade

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

    Fixed in 11.5
  7. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.48.3-1~deb11u1Fixed in 2.48.3-1~deb12u1Fixed in 2.48.2-1
  8. Upgrade

    Upgrade debian/wpewebkit to a version that resolves this vulnerability.

    Fixed in 2.48.2-1
  9. Upgrade

    Upgrade Safari to a version that resolves this vulnerability.

    Fixed in 18.5
  10. Upgrade

    Upgrade iOS to a version that resolves this vulnerability.

    Fixed in 18.5
  11. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 18.5
  12. Upgrade

    Upgrade macOS Sequoia to a version that resolves this vulnerability.

    Fixed in 15.5
  13. Upgrade

    Upgrade tvOS to a version that resolves this vulnerability.

    Fixed in 18.5
  14. Upgrade

    Upgrade visionOS to a version that resolves this vulnerability.

    Fixed in 2.5
  15. Upgrade

    Upgrade watchOS to a version that resolves this vulnerability.

    Fixed in 11.5

Event History

May 12, 2025
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionWeakness
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:15 PM
Description
May 13, 2025
Data Sourced
via NVD·09:16 PM
SeverityWeakness
May 15, 2025
Data Sourced
via Red Hat·01:05 PM
DescriptionSeverityAffected Software
May 27, 2025
Data Sourced
via NVD·01:57 PM
Affected Software
Jul 29, 2025
Updated
via Apple·12:00 AM
Affected Software
Nov 3, 2025
Updated
via NVD·08:18 PM
Affected Software
Nov 21, 2025
Updated
via Apple·12:00 AM
Affected Software
Apr 2, 2026
Updated
via MITRE·06:17 PM
Description
Updated
via NVD·07:19 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-31204?

The severity of CVE-2025-31204 is considered moderate due to potential issues with memory handling and permissions.

2

How do I fix CVE-2025-31204?

To address CVE-2025-31204, upgrade your affected Apple products to the latest version following the vendor's guidelines.

3

Which Apple products are affected by CVE-2025-31204?

CVE-2025-31204 affects tvOS versions prior to 18.5, macOS Sequoia prior to 15.5, visionOS prior to 2.5, and iOS/iPadOS prior to 18.5.

4

What kind of vulnerabilities does CVE-2025-31204 address?

CVE-2025-31204 addresses vulnerabilities related to memory handling, input sanitization, and permissions in various Apple software.

5

Is there a known exploit for CVE-2025-31204?

As of now, there are no public exploits specifically detailing CVE-2025-31204.

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