CVE-2026-41309 Details
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.
A resource exhaustion vulnerability has been identified in Open Source Social Network (OSSN) versions prior to 9.0. This issue allows an attacker to upload a malicious image with extreme pixel dimensions, such as 10000 by 10000 pixels. Although the compressed file size may be small, the server allocates significant memory and CPU resources to decompress and resize the image. This processing can overwhelm server resources, causing a denial-of-service condition. The vulnerability arises in the image handling component, where the system processes uploaded images for thumbnail generation or resizing. By manipulating image headers to claim large dimensions, an attacker can disrupt normal server operations, especially if the attack is repeated.
Users are advised to upgrade to OSSN version 9.0 or later, which includes improved validation of image dimensions and better resource management during processing. For those unable to upgrade immediately, it is recommended to adjust `php.ini` settings to limit `memory_limit` and `max_execution_time`, and to implement checks on image headers to reject files with excessive pixel dimensions before processing.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 24, 2026CISA-ADP
Assessed Apr 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/12357113b3be189da7f6e429979a464e4f982117 | [email protected] | Source CodeVendor |
| https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2535 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/opensource-socialnetwork/opensource-socialnetwork/security/advisories/GHSA-72qf-xrcw-fhr2 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Open Source Social Network | < 9.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 24, 2026 | New CVE Received | [email protected] |
Volerion