High memory usage in Nextcloud server
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-24741
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:54 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-24741
Complete source record
{
"id": "c2d166f3f95213346dbf3bd0ede20846d569daf17aa1e0b77406ed1181f4053a",
"url": "https://osv.dev/vulnerability/CVE-2022-24741",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "High memory usage in Nextcloud server",
"summary": "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.",
"evidence": "osv:CVE-2022-24741",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2022-24741",
"aliases": [
"CVE-2022-24741",
"GHSA-jf3h-xf4q-mh89"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nextcloud/server",
"type": "GIT",
"events": [
{
"introduced": "8985b7930653139859002eb3eca2852999ed8f0d"
},
{
"fixed": "2721bbb5da8a9abb9a8ee610181315ad9b6b8ba8"
},
{
"introduced": "c67e1420c8f741bfa43db08fcc295ec3b156fff8"
},
{
"fixed": "fb5dbd80594c2c84fbd7fd33f04cea752e619aad"
},
{
"introduced": "0619207f13792250aea775a2c3133d41ab625980"
},
{
"last_affected": "0619207f13792250aea775a2c3133d41ab625980"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "21.0.0"
},
{
"fixed": "21.0.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "22.0.0"
},
{
"fixed": "22.2.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:23.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "23.0.0"
},
{
"last_affected": "23.0.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"23.0.0",
"v21.0.8rc3",
"v22.2.4rc3",
"v21.0.8rc2",
"v22.2.4rc2",
"v21.0.8rc1",
"v22.2.4rc1",
"v23.0.0",
"v21.0.7",
"v22.2.3",
"v22.2.2",
"v21.0.6",
"v22.2.1",
"v22.2.1rc1",
"v21.0.6rc1",
"v21.0.5",
"v22.2.0",
"v21.0.5rc1",
"v22.2.0rc2",
"v22.1.1",
"v22.1.1rc2",
"v22.1.1rc1",
"v21.0.4",
"v22.1.0",
"22.1.0",
"v22.1.0rc1",
"v21.0.4rc1",
"v22.0.0",
"v21.0.3",
"v21.0.3rc1",
"v21.0.2",
"v21.0.2RC1",
"v21.0.1",
"v21.0.1RC1",
"v21.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24741.json"
}
}
],
"modified": "2026-10-28T02:30:52.326893094Z",
"provider": "osv",
"references": [
"https://hackerone.com/reports/1261225",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24741.json",
"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jf3h-xf4q-mh89",
"https://nvd.nist.gov/vuln/detail/CVE-2022-24741",
"https://security.gentoo.org/glsa/202208-17",
"https://github.com/nextcloud/server/pull/30291"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24741.json"
}
},
"related_cves": [
{
"value": "CVE-2022-24741",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521124,
"published_at": "2022-03-09T21:30:13+00:00"
}