CVE-2025-31257
This issue was addressed with improved memory handling. This issue is fixed in Safari 18.5, iOS 18.5 and iPadOS 18.5, macOS Sequoia 15.5, tvOS 18.5, visionOS 2.5, watchOS 11.5. Processing maliciously crafted web content may lead to an unexpected Safari crash.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not… | UBUNTU-CVE-2025-31257 | |
| Ubuntu 24.04 | webkit2gtk | Fixed | 2.48.3-0ubuntu0.24.04.1 | UBUNTU-CVE-2025-31257 |
| Ubuntu 22.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not… | UBUNTU-CVE-2025-31257 | |
| Ubuntu 22.04 | webkit2gtk | Fixed | 2.48.3-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-31257 |
| Ubuntu 22.04 | wpewebkit | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not… | UBUNTU-CVE-2025-31257 | |
| Ubuntu 20.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not… | UBUNTU-CVE-2025-31257 | |
| Ubuntu 20.04 | webkit2gtk | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not… | UBUNTU-CVE-2025-31257 | |
| Ubuntu 20.04 | wpewebkit | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not… | UBUNTU-CVE-2025-31257 | |
| Ubuntu 18.04 | qtwebkit-opensource-src | Fix pending | UBUNTU-CVE-2025-31257 | |
| Ubuntu 18.04 | qtwebkit-source | Fix pending | UBUNTU-CVE-2025-31257 | |
| Ubuntu 18.04 | webkit2gtk | Fix pending | UBUNTU-CVE-2025-31257 | |
| Ubuntu 18.04 | webkitgtk | Fix pending | UBUNTU-CVE-2025-31257 | |
| Ubuntu 16.04 | qtwebkit-opensource-src | Fix pending | UBUNTU-CVE-2025-31257 | |
| Ubuntu 16.04 | qtwebkit-source | Fix pending | UBUNTU-CVE-2025-31257 | |
| Ubuntu 16.04 | webkit2gtk | Fix pending | UBUNTU-CVE-2025-31257 | |
| Ubuntu 16.04 | webkitgtk | Fix pending | UBUNTU-CVE-2025-31257 | |
| Debian 14 | webkit2gtk | Fixed | 2.48.2-1 | DEBIAN-CVE-2025-31257 |
| Debian 14 | wpewebkit | Fixed | 2.48.2-1 | DEBIAN-CVE-2025-31257 |
| Debian 13 | webkit2gtk | Fixed | 2.48.2-1 | DEBIAN-CVE-2025-31257 |
| Debian 13 | wpewebkit | Fixed | 2.48.2-1 | DEBIAN-CVE-2025-31257 |
| Debian 12 | webkit2gtk | Fixed | 2.48.3-1~deb12u1 | DEBIAN-CVE-2025-31257 |
| Debian 12 | wpewebkit | Fix pending | DEBIAN-CVE-2025-31257 | |
| Red Hat Enterprise Linux 9 | webkit2gtk3 | Fixed | 0:2.48.2-1.el9_6 | RHSA-2025:7995 |
| Red Hat Enterprise Linux 9 | webkit2gtk3-devel | Fixed | 0:2.48.2-1.el9_6 | RHSA-2025:7995 |
| Red Hat Enterprise Linux 9 | webkit2gtk3-jsc | Fixed | 0:2.48.2-1.el9_6 | RHSA-2025:7995 |
| Red Hat Enterprise Linux 9 | webkit2gtk3-jsc-devel | Fixed | 0:2.48.2-1.el9_6 | RHSA-2025:7995 |
| Red Hat Enterprise Linux 8 | webkit2gtk3 | Fixed | 0:2.48.2-1.el8_10 | RHSA-2025:8046 |
| Red Hat Enterprise Linux 8 | webkit2gtk3-devel | Fixed | 0:2.48.2-1.el8_10 | RHSA-2025:8046 |
| Red Hat Enterprise Linux 8 | webkit2gtk3-jsc | Fixed | 0:2.48.2-1.el8_10 | RHSA-2025:8046 |
| Red Hat Enterprise Linux 8 | webkit2gtk3-jsc-devel | Fixed | 0:2.48.2-1.el8_10 | RHSA-2025:8046 |
| Red Hat Enterprise Linux 7 | libwebkit2gtk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | webkitgtk3 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | webkitgtk3-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | webkitgtk3-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | webkitgtk | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | webkitgtk-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | webkitgtk-doc | Will not fix Out of support scope | ||
| AlmaLinux 9 | webkit2gtk3 | Fixed | 2.48.2-1.el9_6 | ALSA-2025:7995 |
| AlmaLinux 9 | webkit2gtk3-devel | Fixed | 2.48.2-1.el9_6 | ALSA-2025:7995 |
| AlmaLinux 9 | webkit2gtk3-jsc | Fixed | 2.48.2-1.el9_6 | ALSA-2025:7995 |
| AlmaLinux 9 | webkit2gtk3-jsc-devel | Fixed | 2.48.2-1.el9_6 | ALSA-2025:7995 |
| AlmaLinux 8 | webkit2gtk3 | Fixed | 2.48.2-1.el8_10 | ALSA-2025:8046 |
| AlmaLinux 8 | webkit2gtk3-devel | Fixed | 2.48.2-1.el8_10 | ALSA-2025:8046 |
| AlmaLinux 8 | webkit2gtk3-jsc | Fixed | 2.48.2-1.el8_10 | ALSA-2025:8046 |
| AlmaLinux 8 | webkit2gtk3-jsc-devel | Fixed | 2.48.2-1.el8_10 | ALSA-2025:8046 |
| Rocky Linux 9 | webkit2gtk3 | Fixed | 0:2.48.2-1.el9_6 | RLSA-2025:7995 |
| Rocky Linux 8 | webkit2gtk3 | Fixed | 0:2.48.2-1.el8_10 | RLSA-2025:8046 |
What the vendor says
As published in the CVE record by apple, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apple Safari: affected: before 18.5; fixed in
18.5 - Apple iOS and iPadOS: affected: before 18.5; fixed in
18.5 - Apple macOS: affected: before 15.5; fixed in
15.5 - Apple tvOS: affected: before 18.5; fixed in
18.5 - Apple visionOS: affected: before 2.5; fixed in
2.5 - Apple watchOS: affected: before 11.5; fixed in
11.5
References
- https://support.apple.com/en-us/122404
- https://support.apple.com/en-us/122716
- https://support.apple.com/en-us/122719
- https://support.apple.com/en-us/122720
- https://support.apple.com/en-us/122721
- https://support.apple.com/en-us/122722
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.