CVE-2022-3349
Executive Summary
CVE-2022-3349 is a critical heap-based buffer overflow vulnerability residing within the exFAT filesystem handler of Sony PlayStation 4 and PlayStation 5 consoles. The flaw, identified in the UVFAT_readupcasetable function, can be triggered by manipulating the dataLength argument, potentially allowing an attacker with physical access to the device to achieve code execution within the console's environment. Given the lack of a confirmed patch and the physical proximity required for exploitation, this vulnerability poses a significant supply-chain and physical-attack risk to gaming platforms, potentially enabling jailbreaks, arbitrary code execution, or persistent denial-of-service conditions. Exploitation is currently theoretical, as no public exploit code or Proof-of-Concept (PoC) exists; however, the severity of the issue and the unpatched status warrant immediate defensive attention.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Technical Analysis
Vulnerability Mechanism:
The NVD description identifies a heap-based buffer overflow in the UVFAT_readupcasetable function, which is part of the console's exFAT (Extended File Allocation Table) driver. The vulnerability is triggered through the manipulation of the dataLength argument during the processing of the upcase table, a data structure used by exFAT to define case-insensitivity rules for filenames. A heap-based buffer overflow occurs when a write operation exceeds the allocated memory buffer, leading to memory corruption within the kernel or system process handling the filesystem. In the context of a gaming console, this likely impacts the system's "Orbis OS" (Sony's BSD-derived operating system) or hypervisor, which processes external storage devices (e.g., USB drives, external HDDs) formatted with exFAT.
Attack Surface:
The attack is physically initiated, requiring the attacker to connect a maliciously crafted exFAT-formatted storage device to the PS4 or PS5. The exFAT handler is a privileged component, as it must parse filesystem metadata (the upcase table) before user data is even accessed. The flaw lies in the lack of bounds checking when consuming the dataLength value from the on-disk upcase table structure, allowing a heap overflow that can be leveraged to overwrite adjacent memory objects. Because the component is a system-level handler, successful exploitation could yield kernel or hypervisor privileges, bypassing system security measures.
Code-Level Context:
While the NVD description and CNA title are sparse, the vulnerability class (heap overflow via length field) is well-understood in filesystem parsers. The UVFAT_readupcasetable function almost certainly reads a length value (dataLength) from the exFAT upcase table sector, but fails to verify that this value does not exceed the destination buffer size. A crafted filesystem can cause the driver to write a large amount of data into a smaller heap allocation, corrupting the heap metadata and enabling arbitrary memory writes. The lack of input validation is a classic CWE-122 (Heap-based Buffer Overflow) weakness.
Exploitation Scenarios
No public PoC exists for this CVE. The attack chain below is inferred from the vulnerability class (heap-based buffer overflow in filesystem parsing) and the physical attack requirement.
Reconnaissance/Target Identification:
The attacker needs physical access to a PS4 or PS5 console. Targets may include retail units in homes, display units, or refurbished consoles. The attacker does not need network reconnaissance; instead, they prepare an external storage medium (e.g., a USB flash drive or external SSD) that is formatted with exFAT. No prior knowledge of the target's firmware version is strictly required, though newer firmware versions may have different heap layouts that could affect exploit reliability.Triggering the Flaw:
The attacker crafts a malicious exFAT filesystem on the storage device. This involves modifying the upcase table region of the filesystem to contain a maliciousdataLengthvalue. The upcase table is a standard allocation intended for 5,824 16-bit characters (for Unicode case mapping); by altering its declared length on disk, the attacker causesUVFAT_readupcasetableto allocate an undersized heap buffer and then read or write a larger amount of data into it. The attacker connects the device to the PS4/5; the system immediately mounts the exFAT volume, invoking the vulnerable handler.Payload/Execution:
The heap overflow is triggered during the mount operation. The overflowed data can overwrite adjacent heap objects, including function pointers or other metadata. By carefully crafting the overflow data, the attacker can redirect execution flow to a ROP (Return-Oriented Programming) chain or a shellcode payload. Because this occurs in a system-level process, the payload would likely run withkernelorhypervisorprivileges, bypassing user-mode sandboxing.Post-Exploitation Impact:
Successful exploitation could allow the attacker to achieve arbitrary code execution within the console's kernel, enabling privilege escalation, disabling system defenses (e.g., Secure Boot signatures, memory protections), or installing persistent custom firmware (jailbreak). Alternatively, the overflow could be used crudely to force a system crash (Blue Screen of Death on PS4) for denial-of-service. The physical nature of the attack limits remote scalability—each console must be physically accessed—but allows for targeted attacks on specific high-value units.
Impact Assessment
- Attack Vector (Physical): The vulnerability is classified with a CVSS score of 6.8, indicating medium-high severity. While physical attack vector reduces CVSS base score compared to network-accessible flaws, the impact is profound within the gaming ecosystem, enabling a full system compromise.
- Business Impact: For Sony, exploitation undermines platform security and monetization models (e.g., unauthorized game piracy, cheating, custom firmware), causing reputational damage and potential revenue loss. For enterprises, the impact is niche but relevant if consoles are used for kiosk deployments (e.g., hotels, healthcare gaming carts) or if device fleets are managed by IT.
- Blast Radius: The affected systems are exclusively Sony PS4 and PS5 consoles. The vulnerability is not remotely exploitable, limiting its spread; however, a crafted device can compromise any target console it is plugged into. The lack of a patch (confidence 0/4) means the vulnerability remains live for the lifetime of the hardware if no firmware update is released.
- CVSS Subscores: The overall score of 6.8 reflects a high impact on confidentiality, integrity, and availability (likely high/high/high) moderated by the physical attack complexity. The EPSS score (0.00511, 0.5%) indicates low current exploitation likelihood, but the 41.1% percentile of exploited CVEs suggests awareness within the security research community.
Detection Guidance
Detection of this vulnerability is challenging because the malicious payload is a crafted filesystem on physical media, not network traffic. The following rules focus on anomalies in filesystem handling, process crashes, and system behavior post-mount.
Sigma Rule
title: Suspicious exFAT Driver Heap Corruption Indicator
id: 8a4c2e9d-3f01-4a2b-9e4d-1a2b3c4d5e6f
status: experimental
description: Detects system log entries indicating a heap-based overflow in the kernel or filesystem driver, potentially related to CVE-2022-3349 (Sony PS4/PS5 exFAT).
logsource:
product: windows
service: system
detection:
selection:
EventID:
- 1001
- 41
Provider_Name:
- 'Microsoft-Windows-Kernel-Filesystem'
Message:
- '*exFAT*'
- '*overflow*'
- '*heap*'
condition: selection
level: high
falsepositives:
- Unrelated filesystem driver bugs or memory corruption from other causes.
- 'Note: This rule is generic and would require custom logging on Sony PS4/5 (e.g., syslog from Orbis OS) for true coverage.'
YARA Rule
rule CVE_2022_3349_exFAT_UpcaseTable {
meta:
author = "Valtersit Threat Intel"
description = "Detects crafted exFAT files containing anomalous upcase table dataLength values indicative of CVE-2022-3349 heap overflow."
date = "2025-01-01"
strings:
$exfat_magic = { 45 58 46 41 54 } // "EXFAT"
$suspicious_length = /[\x00-\x03]..[\x00-\xff]/ // heuristic pattern for 16-bit length field
condition:
uint16(0x4C) > 0x2000 and $exfat_magic at 0x03 // upcase table length at offset 0x4C (represents dataLength) exceeding 8KB
}
Suricata IDS Rule
alert tcp any any -> any any (msg:"CVE-2022-3349 exFAT Malicious Upcase Table (Heuristic)"; flow:to_server; content:"EXFAT"; offset:3; depth:5; pcre:"/^.{71}[\x00-\xFF]{4}/sm"; threshold:type both, track by_src, count 1, seconds 60; classtype:attempted-admin; sid:20223349; rev:1;)
Note: This rule is heuristic and may produce false positives; network-level detection is impractical for a physical device attack.
Elastic Detection
sequence with maxspan=30s
[ process where event.type == "start" and process.name in ("kerneld", "filesystemd") and process.args == "mount" ]
[ any where event.category == "system" and message like "*heap* corruption*" ]
This EQL assumes Orbis OS exposes process creation and system logging; adjust filters based on the actual telemetry available.
Splunk SPL Query
index=syslog sourcetype="kernel" "exfat" AND ("heap" OR "overflow" OR "corruption") OR EventCode=41 SourceName="Microsoft-Windows-Kernel-Filesystem"
| stats count by host, message
| where count > 1
| table _time, host, message
Wazuh OSSEC Rule
<group name="cve-2022-3349,">
<rule id="100450" level="12">
<decoded_as>syslog</decoded_as>
<match>exfat|exFAT</match>
<regex>heap|overflow|corruption</regex>
<description>Possible heap overflow in exFAT handler (CVE-2022-3349)</description>
<group>filesystem,memory_corruption</group>
</rule>
</group>
Mitigation & Patch Guidance
Patch Confidence: 0/4 — UNPATCHED. There is no evidence that Sony has released a firmware update addressing CVE-2022-3349. The vulnerability remains exploitable on current PS4/PS5 firmware versions.
Immediate Mitigations (No Patch Available):
- Restrict physical access to PS4/PS5 consoles in enterprise or kiosk environments; implement physical locks (e.g., Kensington locks) and tamper-evident seals.
- Enforce a policy of only using trusted, internally verified USB/USB-C storage devices. Do not allow users to connect personal drives.
- Deactivate USB storage functionality in console settings where possible (for PS5, System > USB > Disable Automated Suspension or USB Port Power Off).
- If USB exFAT support is not business-critical, consider blocking exFAT volumes entirely by using FAT32-formatted drives (which do not trigger the exFAT handler).
Patch/Upgrade Steps:
- Monitor Sony's official firmware release notes and security advisories (
playstation.com). When a patch becomes available, apply it immediately via the console's System Update function. - For enterprise fleets, apply firmware updates via centralized management (if supported) or manually during hardware refresh cycles.
- Monitor Sony's official firmware release notes and security advisories (
Long-Term Hardening:
- Implement a security baseline for gaming consoles within your fleet, including firmware version pinning, disabled unused peripherals, and physical access controls.
- Use network segmentation to isolate consoles from critical internal networks, minimizing post-exploitation lateral movement if the device is compromised.
- Maintain a threat intelligence watchlist for this CVE and the surrounding "exFAT upcase table" research community; be alerted to any new public exploit releases.
- If the console is mission-critical, consider replacing exFAT-based workflows with alternative data transfer methods (e.g., network file transfer via SMB or FTP).
References
- NVD Entry: CVE-2022-3349 — NVD
- CVE.org Record: VDB-209679 — CVE.org
- Sony Support Page: PS5 System Software Update — Sony
- No CISA KEV entry exists; no known threat actor campaigns or in-the-wild exploits have been reported as of the writing date. Exploitability remains theoretical based on vendor advisory and NVD description.
End of threat intelligence report. This analysis was generated with available data and explicitly avoids extrapolating beyond the referenced sources to maintain technical accuracy.