Security Resilience

CVE-2025-31238

Memory Safety in Apple Safari ≤ 18.5

Published
12 May 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.010 64th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-31238 is a high-severity Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119) vulnerability in Apple Safari. Its CVSS base score is 7.3 (High).

Operationally, ranked in the top 36% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-8 (Security and Privacy Engineering Principles) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-31238 is a memory corruption issue, tracked under CWE-119, that affects web content processing in Safari and multiple Apple operating systems. The flaw arises from insufficient validation when handling crafted input and is present in versions prior to Safari 18.5, iOS 18.5, iPadOS 18.5, macOS Sequoia 15.5, tvOS 18.5, visionOS 2.5, and watchOS 11.5. It carries a CVSS 3.1 base score of 7.3 reflecting network attack vector, low complexity, and partial impacts to confidentiality, integrity, and availability.

An unauthenticated remote attacker can trigger the vulnerability by causing a victim device to process malicious web content, such as through a crafted website, resulting in memory corruption that may be leveraged for limited unauthorized access or disruption without requiring user interaction.

Apple security advisories state that the issue was resolved by adding improved checks and list the exact updated releases for each affected platform, directing administrators and users to apply those patches. The associated EPSS score has remained flat at a low value of 0.0126 with no observed increase after disclosure.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-31273Same product: Apple Safari
CVE-2025-43212Same product: Apple Safari
CVE-2025-46298Same product: Apple Safari
CVE-2024-54551Same product: Apple Safari
CVE-2024-27820Same product: Apple Safari
CVE-2025-24189Same product: Apple Safari
CVE-2025-31278Same product: Apple Safari
CVE-2025-31257Same product: Apple Safari
CVE-2025-31204Same product: Apple Safari
CVE-2024-27851Same product: Apple Safari

Affected Assets

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

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Secure engineering principles require memory-safe design and coding that structurally avoids buffer-boundary violations.

Input validation directly enforces bounds checking that stops out-of-bounds reads/writes from being introduced or reached.

Memory protection restricts exploitation impact of buffer overflows without eliminating the underlying coding flaw.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches out-of-bounds accesses before release, covering most instances of the weakness.

prevents

Secure coding standards explicitly forbid unsafe buffer operations, directly eliminating CWE-119.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-119, a class-level weakness. Rules are authored against its narrower children: CWE-823.

References