# CVE-2023-40397

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-09-06 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2023-40397, DEBIAN-CVE-2023-40397
- Record: https://cvemate.com/vulnerability/CVE-2023-40397 · JSON: https://cvemate.com/vulnerability/CVE-2023-40397/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.674%, percentile 77.657%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apple macos: ≥ unspecified, \< 13.5 \| \< 13.5
- debian webkit2gtk (Debian): \< 2.40.5-1~deb12u1 \| \< 2.40.5-1
- debian wpewebkit (Debian): All versions (No fix recorded) \| \< 2.40.5-1
- ubuntu qtwebkit-opensource-src (Ubuntu): All versions (No fix recorded)
- ubuntu qtwebkit-source (Ubuntu): All versions (No fix recorded)
- ubuntu webkit2gtk (Ubuntu): All versions (No fix recorded) \| \< 2.40.5-0ubuntu0.22.04.1
- ubuntu webkitgtk (Ubuntu): All versions (No fix recorded)
- ubuntu wpewebkit (Ubuntu): All versions (No fix recorded)
- webkitgtk webkitgtk: \< 2.40.5
- wpewebkit wpe\_webkit: \< 2.40.5

## References

- <https://support.apple.com/en-us/HT213843>
- <http://www.openwall.com/lists/oss-security/2023/09/11/1>
- <https://security.gentoo.org/glsa/202401-04>
- <https://ubuntu.com/security/CVE-2023-40397>
- <https://webkitgtk.org/security/WSA-2023-0008.html>
- <https://www.cve.org/CVERecord?id=CVE-2023-40397>
- <https://security-tracker.debian.org/tracker/CVE-2023-40397>

---

Data as of 2026-12-05T03:06:12.620Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
