Skip to content

Out-of-memory when loading a Plist #119342

Closed

Description

@serhiy-storchaka

The plistlib module is vulnerable to OOM. It reads from the file the amount of data specified in the file (which can be up to 2**64 bytes), and both FileIO,read() and BufferedReader.read() preallocates the bytes object of the specified size. Specially prepared Plist file can be used to organize a DOS attack.

Linked PRs

Activity

  1. added 2 commits that reference this issue on Dec 1, 2025
  2. added 5 commits that reference this issue on Dec 1, 2025
  3. z00z00z00 commented on Dec 3, 2025

    @z00z00z00

    The CVE assigned is CVE-2025-13837

  4. added a commit that references this issue on Dec 6, 2025
  5. added a commit that references this issue on Dec 22, 2025
  6. added 2 commits that reference this issue on Mar 2, 2026
  7. added 2 commits that reference this issue on Sep 18, 2026
  8. added 2 commits that reference this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10 (EOL)end of life3.11only security fixes3.12only security fixes3.13only security fixes3.14bugs and security fixes3.15bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-securityA security issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions