llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · pyload-ng

GHSA-VQ8P-M3WM-GV5F

pyLoad: Lack of Input Size Validation Leads to Denial of Service (DoS) and Process Termination

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -92 d de la divulgación
Exposición41 dDesde la divulgación, 9 oct 2026, 11:26 a. m.
Detección38 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 0.5.0b3.dev101
Monitoreo
Detectada
9 jul 26
9 oct 26
15 oct 26
17 nov 26
19 nov 26
9 jul 26
11 ago 26
14 sept 26
17 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.5.0b3.dev101 pyload-ng · -92 d desde divulgación
Divulgación Publicada GHSA-VQ8P-M3WM-GV5F divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

## Description:
The API `rpc` function in `api_blueprint.py` handles `multipart/form-data` uploads by reading the whole content of the uploaded file into memory with `file.read()`. This occurs before the data is sent to the underlying function. Since there is no size limit set at this point, a large file upload can exhaust the server's available memory which led to process termination.

## VulnerableCode & Path:
https://github.com/pyload/pyload/blob/8e447958b8a66c5899775e725a8b90bce6643004/src/pyload/webui/app/blueprints/api_blueprint.py#L73

## Steps to Reproduce:
1. Log in to pyLoad (or use an API key, here i used api to communicate).
2. Prepare a large file (e.g., 10GB) .
```bash
truncate -s 10G large_file.bin
```
3. Send a multipart request to an API function that accepts a file, such as `check_online_status_container`:

curl -X POST "http://localhost:8000/api/rpc" \
     -H "X-API-Key: YOUR_API_KEY" \
     -F "func=check_online_status_container" \
     -F "container=@large_file.bin"

4. Monitor the server's memory usage. The process will attempt to allocate memory for the entire file and last the process will be killed by the kernel.
<img width="1902" height="610" alt="dos-process-kill-poc" src="https://github.com/user-attachments/assets/2b9bfd0f-5b9f-48dd-983f-f97dfcc358cc" />

## Impact
- Denial of Service (DoS): The pyLoad process will be killed by the Operating System's Out-Of-Memory (OOM) killer, or the entire system may become unresponsive due to swap thrashing or memory exhaustion.
- Service Instability: Any active downloads or tasks will be interrupted.

## Mitigations
- Implement File Size Limits: Enforce a maximum size for uploaded files in the web server configuration (e.g., Nginx `client_max_body_size`).

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida Última
pyload-ng< 0.5.0b3.dev101
0.5.0b3.dev101
0.5.0b3.dev102
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypipyload-ng
Corregida 0.5.0b3.dev101 -92 d 0.5.0b3.dev102 no afectada
Versiones corregidas0.5.0b3.dev101
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/pyload/pyload/security/advisories/GHSA-vq8p-m3wm-gv5f
Otrahttps://github.com/pyload/pyload/commit/461cd66f30fa9e96453fb4d8c5c47467e452363c
Otrahttps://github.com/pyload/pyload

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.