CVE-2022-48564
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-48564 affects the read_ints function in plistlib.py in Python through version 3.9.1. The vulnerability was discovered in 2020 and publicly disclosed in August 2023. The issue affects Python's core plistlib library which supports Apple's binary plist format. When processing malformed Apple Property List files in binary format, the implementation can be vulnerable to a potential Denial of Service (DoS) attack (Python Bug Tracker, NVD).

Technical details

The vulnerability exists in the read_ints function of plistlib.py where malformed input can force the creation of an argument to struct.unpack() that consumes excessive CPU and RAM resources until a MemError is thrown. When processing malicious input, the 'n' parameter can be controlled to be very large, causing the function to attempt building a string as long as 'n', leading to resource exhaustion. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD, Python Bug Tracker).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service (DoS) condition through CPU and RAM exhaustion. The attack can cause the system to consume excessive computational resources while processing malformed Apple Property List files, potentially making the system unresponsive (NetApp Advisory, NVD).

Mitigation and workarounds

The vulnerability has been patched in multiple Python versions through various commits. Fixes include improved validation of Plist files and changes to the way format strings are handled in struct.unpack(). The fix was implemented across different Python versions including 3.10.0a2, 3.9.1rc1, 3.8.7rc1, 3.7.10, and 3.6.13 (Python Bug Tracker, Debian Security Tracker).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management