Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.2
CVE-2026-41309: Open Source Social Network may crash from large image upload
CVE-2026-41309 · published 7 months ago
Summary
Versions of Open Source Social Network before 9.0 can be overloaded when someone uploads a tiny file that expands into a huge picture during processing. This can slow the server down or stop it from working for everyone. Upgrade to version 9.0, or limit memory and processing time in the PHP settings and reject images that are unusually large in pixel dimensions.
Original advisory text
Open Source Social Network (OSSN) Vulnerable to Resource Exhaustion via Malicious Image Processing
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.
References
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/security/ad... Vendor Advisory
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2535 Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41309... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-41309 Vendor Advisory
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/1235... Patch
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Type
CWE-400Uncontrolled Resource Consumption
CWE-770Allocation of Resources Without Limits
Timeline
Published24 Apr 2026
Updated22 Nov 2026
First seen24 Apr 2026
Track software like this
Free during beta