---
id: CVE-2025-31223
title: The issue was addressed with improved checks
summary: >-
  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: high
cvss: 8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-119
  - CWE-120
vendor: apple
product: safari
affected:
  - safari < 18.5
  - ipados < 18.5
  - iphone_os < 18.5
  - macos < 15.5
  - tvos < 18.5
  - visionos < 2.5
  - watchos < 11.5
patched:
  - safari 18.5
  - ipados 18.5
  - iphone_os 18.5
  - macos 15.5
  - tvos 18.5
  - visionos 2.5
  - watchos 11.5
published: '2025-05-12'
updated: '2026-06-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-31223'
references:
  - url: 'https://support.apple.com/en-us/122404'
    label: product-security@apple.com
  - url: 'https://support.apple.com/en-us/122716'
    label: product-security@apple.com
  - url: 'https://support.apple.com/en-us/122719'
    label: product-security@apple.com
  - url: 'https://support.apple.com/en-us/122720'
    label: product-security@apple.com
  - url: 'https://support.apple.com/en-us/122721'
    label: product-security@apple.com
  - url: 'https://support.apple.com/en-us/122722'
    label: product-security@apple.com
  - url: 'http://seclists.org/fulldisclosure/2025/May/10'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2025/May/12'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2025/May/13'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2025/May/5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2025/May/7'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2025:17643'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:17741'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:17743'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:17802'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:17807'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:18097'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:19109'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:19157'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:19165'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2025:19352'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2025-31223'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2448779'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-31223.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00566
epssPercentile: 0.44729
ingestedAt: '2026-06-30T03:49:03.498Z'
---

## Overview

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.

## Affected

- `safari < 18.5`
- `ipados < 18.5`
- `iphone_os < 18.5`
- `macos < 15.5`
- `tvos < 18.5`
- `visionos < 2.5`
- `watchos < 11.5`

## Remediation

Upgrade past the affected range:

- `safari 18.5`
- `ipados 18.5`
- `iphone_os 18.5`
- `macos 15.5`
- `tvos 18.5`
- `visionos 2.5`
- `watchos 11.5`
