CVE-2023-40397: The issue was addressed with improved checks
CVE-2023-40397 is a critical-severity flaw (CVSS 9.8) affecting macos, webkitgtk, wpe webkit. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The issue was addressed with improved checks. This issue is fixed in macOS Ventura 13.5. A remote attacker may be able to cause arbitrary javascript code execution.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 23%) |
| CISA exploited list | No |
| Published | 2023-09-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-40397?
macos: upgrade to 13.5; webkitgtk: upgrade to 2.40.5; wpe webkit: upgrade to 2.40.5. Exact commands for each OS are on this page.
Is CVE-2023-40397 being exploited?
CVE-2023-40397 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-40397 affect?
CVE-2023-40397 affects macos, webkitgtk, wpe webkit. Severity is critical (CVSS 9.8). The issue was addressed with improved checks. This issue is fixed in macOS Ventura 13.5. A remote attacker may be able to cause arbitrary javascript code execution.
How urgent is CVE-2023-40397?
Priority 58/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
macOS vulnerabilities · WebKit vulnerabilities · Apple Safari and WebKit vulnerabilities
Related CVEs
- CVE-2026-28854 HIGH 7.5 UPGRADE The issue was addressed with additional app bundle integrity checks
- CVE-2026-86915 MEDIUM 4.7 UPGRADE A race condition was addressed with improved locking
- CVE-2026-86928 MEDIUM 5.5 UPGRADE A path handling issue was addressed with improved validation
- CVE-2026-86932 MEDIUM 5.5 UPGRADE An authorization issue was addressed with improved state management
- CVE-2026-86933 LOW 3.3 UPGRADE A permissions issue was addressed with additional sandbox restrictions