# CVE-2026-41309: Open Source Social Network (OSSN) Vulnerable to Resource Exhaustion via Malicious Image Processing

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-04-24T02:31:52.915Z
- Modified: 2026-06-17T10:46:28.913Z
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Open Source Social Network (OSSN) is open-source social networking software developed in PHP. Versions prior to 9.0 are vulnerable to resource exhaustion. An attacker can upload a specially crafted image with extreme pixel dimensions (e.g., $10000 \times 10000$ pixels). While the compressed file size on disk may be small, the server attempts to allocate significant memory and CPU cycles during the decompression and resizing process, leading to a Denial of Service (DoS) condition. It is highly recommended to upgrade to OSSN 9.0. This version introduces stricter validation of image dimensions and improved resource management during the processing phase. Those who cannot upgrade immediately can mitigate the risk by adjusting their `php.ini` settings to strictly limit `memory_limit` and `max_execution_time` and/or implementing a client-side and server-side check on image headers to reject files exceeding reasonable pixel dimensions (e.g., $4000 \times 4000$ pixels) before processing begins.

(As written by CVE List.)

## Affected

- opensource-socialnetwork opensource-socialnetwork: < 9.0

## References

- <https://github.com/opensource-socialnetwork/opensource-socialnetwork/security/advisories/GHSA-72qf-xrcw-fhr2>
- <https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2535>
- <https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/12357113b3be189da7f6e429979a464e4f982117>

## Sources

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

---

Page: https://cve.day/CVE-2026-41309 · Whole record: https://cve.day/CVE-2026-41309.json · Rebuilt by cve.day 2026-11-25T22:59:19.452Z
