Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-32949 Overview
CVE-2025-32949 is a resource exhaustion vulnerability in Framasoft PeerTube, an open-source federated video platform. The flaw lets any authenticated user exhaust server disk space by uploading a Zip Bomb through the User Import feature. PeerTube relies on the yauzl library to extract user import archives, and yauzl performs no checks against compression bombs. When user import is enabled (the default), a single low-privileged account can trigger uncontrolled extraction and fill the host filesystem. The issue is tracked under CWE-409: Improper Handling of Highly Compressed Data.
Critical Impact
An authenticated user can exhaust disk space on the PeerTube server by uploading a crafted Zip Bomb through the default-enabled User Import functionality, leading to denial of service.
Affected Products
- Framasoft PeerTube versions prior to 7.1.1
- PeerTube instances with User Import enabled (default configuration)
- Self-hosted PeerTube deployments relying on the yauzl archive library
Discovery Timeline
- 2025-04-15 - CVE-2025-32949 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-32949
Vulnerability Analysis
PeerTube exposes a User Import feature that accepts a ZIP archive containing a user's account data, videos, and metadata. The server decompresses this archive to migrate the user's content into the target instance. The extraction logic uses the Node.js yauzl library, which streams entries from the ZIP container without comparing compressed size against uncompressed size.
A Zip Bomb exploits this gap. The attacker crafts a small archive, often a few megabytes, that expands into gigabytes or terabytes of data on disk. Because PeerTube writes extracted entries directly to the server filesystem, the attack converts a trivial upload into full disk exhaustion. Once the volume fills, PeerTube and co-located services cannot write logs, database state, or new uploads, resulting in denial of service.
Root Cause
The root cause is the absence of extraction limits on untrusted archives. yauzl provides raw ZIP parsing without enforcing a maximum output size, maximum file count, or compression ratio threshold. PeerTube did not wrap the library with these controls before writing extracted content to disk, so any authenticated user with import rights could abuse the primitive.
Attack Vector
Exploitation requires only a registered account on an instance where user import remains enabled. The attacker authenticates, navigates to the import workflow, and uploads a Zip Bomb archive as if it were a legitimate account export. The server accepts the file and begins extraction, consuming disk space proportional to the bomb's expansion ratio until the volume fills or PeerTube crashes. No user interaction beyond the attacker's own session is required, and no elevated privileges are needed.
Technical analysis is available in the JFrog Vulnerability Analysis and the PeerTube v7.1.1 release notes.
Detection Methods for CVE-2025-32949
Indicators of Compromise
- Sudden drops in available disk space on the PeerTube storage volume following a user import request.
- Large or rapidly growing temporary directories created by the PeerTube import worker.
- PeerTube or database error logs reporting ENOSPC (no space left on device) after an authenticated import action.
- Import archives with unusually high compression ratios submitted by low-reputation accounts.
Detection Strategies
- Monitor filesystem usage on PeerTube hosts and alert when free space falls below operational thresholds.
- Correlate authenticated POST requests to the user import endpoint with abrupt increases in disk consumption.
- Inspect uploaded archives for compression ratios exceeding safe limits (for example, a ratio greater than 100:1).
Monitoring Recommendations
- Instrument the PeerTube import pipeline with per-user quotas and emit telemetry for extraction size and duration.
- Forward PeerTube application logs and host metrics to a centralized analytics backend for correlation across accounts and sessions.
- Alert on repeated import failures tied to disk exhaustion errors from the same user or IP address.
How to Mitigate CVE-2025-32949
Immediate Actions Required
- Upgrade PeerTube to version 7.1.1 or later, which addresses the archive extraction logic.
- Disable the User Import feature in the PeerTube configuration if an upgrade cannot be deployed immediately.
- Restrict import privileges to trusted users or administrators until patching completes.
- Review existing disk usage and remove partially extracted archives left by prior exploitation attempts.
Patch Information
Framasoft resolved CVE-2025-32949 in PeerTube 7.1.1. The fix is documented in the PeerTube v7.1.1 release. Administrators should upgrade through their standard deployment process and verify the running version after restart.
Workarounds
- Set import.users.enabled to false in production.yaml to block the vulnerable code path.
- Enforce filesystem quotas on the PeerTube service account so a single extraction cannot consume the entire volume.
- Place a reverse proxy limit on upload size for the user import endpoint to reduce the practical bomb payload.
# Disable user import in PeerTube production.yaml
import:
users:
enabled: false
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

