cve.bz

CVE-2025-31223 apple: Classic Buffer Overflow

8.0 highEPSS 0.6%

High (8.0) in apple. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
The issue was addressed with improved checks. 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 memory corruption.

Severity

CVSS 3.1

8.0 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-31223 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31223?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31223?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-31223 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apple Safaribefore 18.5
Apple iOS and iPadOSbefore 18.5
Apple macOSbefore 15.5
Apple tvOSbefore 18.5
Apple visionOSbefore 2.5
Apple watchOSbefore 11.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12webkit2gtk2.50.1-1~deb12u1DEBIAN-CVE-2025-31223 DSA-6042-1
Debian12, 13wpewebkitno fix listedDEBIAN-CVE-2025-31223
Debian13webkit2gtk2.50.1-1~deb13u1DEBIAN-CVE-2025-31223 DSA-6042-1
Debian14wpewebkit, webkit2gtk2.50.0-1DEBIAN-CVE-2025-31223
Ubuntu16.04:LTS, 18.04:LTSwebkitgtk, webkit2gtk, qtwebkit-source and 1 moreno fix listedUBUNTU-CVE-2025-31223
Ubuntu20.04:LTSwpewebkit, webkit2gtk, qtwebkit-opensource-srcno fix listedUBUNTU-CVE-2025-31223
Ubuntu22.04:LTSwebkit2gtk2.50.1-0ubuntu0.22.04.1UBUNTU-CVE-2025-31223
Ubuntu22.04:LTSwpewebkit, qtwebkit-opensource-srcno fix listedUBUNTU-CVE-2025-31223
Ubuntu24.04:LTSqtwebkit-opensource-srcno fix listedUBUNTU-CVE-2025-31223
Ubuntu24.04:LTSwebkit2gtk2.50.1-0ubuntu0.24.04.1UBUNTU-CVE-2025-31223
Ubuntu25.10webkit2gtk2.50.0-2ubuntu1UBUNTU-CVE-2025-31223
Red Hatenterprise_linux:8::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-1.el8_10RHSA-2025:17802
Red Hatenterprise_linux:9::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.1-0.el9_6RHSA-2025:18097
Red Hatrhel_aus:8.2::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-1.el8_2RHSA-2025:19157
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-1.el8_4RHSA-2025:19165
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-1.el8_6RHSA-2025:19109
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-1.el8_8.1RHSA-2025:17807
Red Hatrhel_e4s:9.0::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-2.el9_0RHSA-2025:17643
Red Hatrhel_e4s:9.2::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-2.el9_2RHSA-2025:17743
Red Hatrhel_els:7webkitgtk4, webkitgtk4-doc, webkitgtk4-jsc and 3 more0:2.50.0-1.el7_9RHSA-2025:19352
Red Hatrhel_eus:9.4::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.50.0-2.el9_4RHSA-2025:17741
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morewebkit2gtk3, webkit2gtk4, webkit2gtk3-soup22.52.0-150400.4.137.3SUSE-SU-2026:1150-1
SUSELinux Enterprise Module for Basesystem 15 SP7webkit2gtk4, webkit2gtk3-soup22.52.1-150600.12.63.1SUSE-SU-2026:1364-1
SUSELinux Enterprise Module for Desktop Applications 15 SP7webkit2gtk32.52.1-150600.12.63.1SUSE-SU-2026:1364-1
SUSELinux Enterprise Module for Development Tools 15 SP7webkit2gtk42.52.1-150600.12.63.1SUSE-SU-2026:1364-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5webkit2gtk32.52.0-4.54.1SUSE-SU-2026:1139-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6webkit2gtk3, webkit2gtk4, webkit2gtk3-soup22.52.1-150600.12.63.1SUSE-SU-2026:1364-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0webkit2gtk3, webkit2gtk42.52.1-160000.1.1SUSE-SU-2026:21180-1
openSUSELeap 15.6webkit2gtk3, webkit2gtk4, webkit2gtk3-soup22.52.1-150600.12.63.1SUSE-SU-2026:1364-1
openSUSELeap 16.0webkit2gtk3, webkit2gtk4, webkit2gtk3-soup22.52.1-160000.1.1openSUSE-SU-2026:20518-1
AlmaLinux8webkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 1 more2.50.0-1.el8_10ALSA-2025:17802

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this issue, an attacker needs to trick a user into processing or loading malicious web content. Due to this reason, this flaw has been rated with an important severity.

Additionally, this issue can cause memory corruption and the possibility of remote code execution is not discarded.

Red Hat's mitigation

Do not process or load untrusted web content with WebKitGTK.

In Red Hat Enterprise Linux 7, the following packages require WebKitGTK4: evolution-data-server, glade, gnome-boxes, gnome-initial-setup, gnome-online-accounts, gnome-shell, shotwell, sushi and yelp.

This vulnerability can only be exploited when these packages are installed in the system and being used via a graphical interface to process untrusted web content, via GNOME for example. In gnome-shell, the vulnerability can be exploited by an attacker from the local network without user interaction.

To mitigate this vulnerability, consider removing these packages. Note that some of these packages are required by GNOME, removing them will also remove GNOME and other packages, breaking functionality. However, the server can still be used via the terminal interface.

Additionally, WebKitGTK3 is not required by any package. Therefore, it can be removed without consequences or break of functionality.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportwebkitgtk4-0:2.50.0-1.el7_9Fixed 2025-10-30RHSA-2025:19352
Red Hat Enterprise Linux 8webkit2gtk3-0:2.50.0-1.el8_10Fixed 2025-10-13RHSA-2025:17802
Red Hat Enterprise Linux 8.2 Advanced Update Supportwebkit2gtk3-0:2.50.0-1.el8_2Fixed 2025-10-28RHSA-2025:19157
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportwebkit2gtk3-0:2.50.0-1.el8_4Fixed 2025-10-28RHSA-2025:19165
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onwebkit2gtk3-0:2.50.0-1.el8_4Fixed 2025-10-28RHSA-2025:19165
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportwebkit2gtk3-0:2.50.0-1.el8_6Fixed 2025-10-27RHSA-2025:19109
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicewebkit2gtk3-0:2.50.0-1.el8_6Fixed 2025-10-27RHSA-2025:19109
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionswebkit2gtk3-0:2.50.0-1.el8_6Fixed 2025-10-27RHSA-2025:19109
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicewebkit2gtk3-0:2.50.0-1.el8_8.1Fixed 2025-10-13RHSA-2025:17807
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionswebkit2gtk3-0:2.50.0-1.el8_8.1Fixed 2025-10-13RHSA-2025:17807
Red Hat Enterprise Linux 9webkit2gtk3-0:2.50.1-0.el9_6Fixed 2025-10-15RHSA-2025:18097
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionswebkit2gtk3-0:2.50.0-2.el9_0Fixed 2025-10-09RHSA-2025:17643
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionswebkit2gtk3-0:2.50.0-2.el9_2Fixed 2025-10-13RHSA-2025:17743
Red Hat Enterprise Linux 9.4 Extended Update Supportwebkit2gtk3-0:2.50.0-2.el9_4Fixed 2025-10-13RHSA-2025:17741
Red Hat Enterprise Linux 6webkitgtkOut of support scope
Red Hat Enterprise Linux 7webkitgtk3Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-31223.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12), CWE-120 (13).

References

Check your stackJSON