# CVE-2022-29243: Improper input-size validation on the user new session name in Nextcloud Server

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.57%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-05-31T16:15:14.000Z
- Modified: 2026-06-17T04:39:54.210Z
- Weaknesses: CWE-20, CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Prior to versions 22.2.7 and 23.0.4, missing input-size validation of new session names allows users to create app passwords with long names. These long names are then loaded into memory on usage, resulting in impacted performance. Versions 22.2.7 and 23.0.4 contain a fix for this issue. There are currently no known workarounds available.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 22.2.7; >= 23.0.0, < 23.0.4
- nextcloud nextcloud_server: before 22.2.7; from >23.0.0 before 23.0.4

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7cwm-qph5-4h5w> (third-party-advisory)
- <https://github.com/nextcloud/server/pull/31658> (patch, third-party-advisory)
- <https://hackerone.com/reports/1153138> (third-party-advisory)
- <https://security.gentoo.org/glsa/202208-17> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2022-29243](https://www.cve.org/CVERecord?id=CVE-2022-29243), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-29243](https://nvd.nist.gov/vuln/detail/CVE-2022-29243), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29243 · Whole record: https://cve.day/CVE-2022-29243.json · Rebuilt by cve.day 2026-11-25T22:58:12.011Z
