CVE-2022-24741: High memory usage in Nextcloud server

CVE-2022-24741 affects 45 listed versions of Nextcloud in the Dawnsentry catalogue.

6.5CVSS medium
Proof of concept publicexploitation
2%EPSS (next 30 days)
9 March 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Nextcloud

45 of 250 listed versions are affected. Fixed in 21.0.8. The newest release, 35.0.3, is not affected.

21.0.7 21.0.6 21.0.5 21.0.4 20.0.14.16 20.0.14.15 20.0.14.14 20.0.14.12 20.0.14.6 20.0.14.4 20.0.14 20.0.13 20.0.12 20.0.11 20.0.10 20.0.9 20.0.8 20.0.7 20.0.6 19.0.13.10 19.0.13.9 19.0.13.7 19.0.13 19.0.12 19.0.11 19.0.10 19.0.9 19.0.8 19.0.7 19.0.6 19.0.5 19.0.4 19.0.3 19.0.2 18.0.14 18.0.13 18.0.12 18.0.11 18.0.10 18.0.9 18.0.8 18.0.7 18.0.6 18.0.5 18.0.4

What it is

Nextcloud server is an open source, self hosted cloud style services platform. In affected versions an attacker can cause a denial of service by uploading specially crafted files which will cause the server to allocate too much memory / CPU. It is recommended that the Nextcloud Server is upgraded to 21.0.8 , 22.2.4 or 23.0.1. Users unable to upgrade should disable preview generation with the `'enable_previews'` config flag.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD)

Published by GitHub on 9 March 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-24741 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.