PT-2026-34840 · Opensource Socialnetwork · Opensource-Socialnetwork

Published

2026-04-24

·

Updated

2026-04-25

·

CVE-2026-41309

CVSS v3.1

8.2

High

AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
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.

Fix

Allocation of Resources Without Limits

Resource Exhaustion

Weakness Enumeration

Related Identifiers

CVE-2026-41309

Affected Products

Opensource-Socialnetwork