Original 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 software
- OSSN * repository or package match
Details
- Published
- 2026-04-24
- Last modified
- 2026-04-25
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H- CWE
- CWE-770, CWE-400
- EPSS (30-day exploit probability)
- 0.37% (percentile 31)
References
- cve.org/CVE-2026-41309
- nvd.nist.gov/vuln/detail/CVE-2026-41309
- github.com/opensource-socialnetwork/opensource-socialnetwork/security/advisories/GHSA-72qf...
- github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2535
- github.com/opensource-socialnetwork/opensource-socialnetwork/commit/12357113b3be189da7f6e4...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.