# CVE-2021-29453: Denial of service through memory exhaustion

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H`
- 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.11%, higher than 66% of CVEs (2026-12-01)
- Published: 2021-04-19T18:55:13.000Z
- Modified: 2026-06-17T03:47:40.323Z
- Weaknesses: CWE-400, CWE-770
- Assigned by: GitHub_M

## Description

matrix-media-repo is an open-source multi-domain media repository for Matrix. Versions 1.2.6 and earlier of matrix-media-repo do not properly handle malicious images which are crafted to be small in file size, but large in complexity. A malicious user could upload a relatively small image in terms of file size, using particular image formats, which expands to have extremely large dimensions during the process of thumbnailing. The server can be exhausted of memory in the process of trying to load the whole image into memory for thumbnailing, leading to denial of service. Version 1.2.7 has a fix for the vulnerability.

(As written by CVE List.)

## Affected

- turt2live matrix-media-repo: <= 1.2.6
- matrix-media-repo_project matrix-media-repo: before 1.2.7

## Every score

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

## References

- <https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-j889-h476-hh9h> (patch, third-party-advisory)
- <https://hub.docker.com/r/turt2live/matrix-media-repo/tags?page=1&ordering=last_updated> (third-party-advisory)
- <https://github.com/turt2live/matrix-media-repo/releases/tag/v1.2.7> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-29453](https://www.cve.org/CVERecord?id=CVE-2021-29453), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-29453](https://nvd.nist.gov/vuln/detail/CVE-2021-29453), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29453 · Whole record: https://cve.day/CVE-2021-29453.json · Rebuilt by cve.day 2026-11-25T22:58:00.856Z
