Vulnerability · Published Apr 24, 2026 · Assigned by GitHub_M
CVE-2026-41309Open Source Social Network (OSSN) Vulnerable to Resource Exhaustion via Malicious Image Processing
High 8.2
In plain English
A high-severity resource allocation without limits in opensource-socialnetwork from opensource-socialnetwork. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| opensource-socialnetwork | opensource-socialnetwork | < 9.0 |
Weakness: CWE-770, CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
References
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/security/advisories/GHSA-72qf-xrcw-fhr2 x_refsource_CONFIRM
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2535 x_refsource_MISC
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/12357113b3be189da7f6e429979a464e4f982117 x_refsource_MISC