Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess OSSN upload endpoint
-
DeliverySubmit crafted high-dimension image
-
ExploitTrigger server-side decompression
-
ExecutionExhaust memory allocation
-
PersistCrash PHP process
-
ImpactService unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated exploitation against default OSSN installations prior to version 9.0 with accessible image upload functionality (profile pictures, posts, or other user-generated content features). No special conditions required - the vulnerability exists in the core image processing pipeline that handles any user-uploaded image. Attack succeeds when: (1) the application accepts image uploads from unauthenticated or low-privilege users (standard functionality), (2) server-side image processing occurs without dimension validation before resource allocation (pre-9.0 behavior), and (3) PHP memory_limit and max_execution_time allow sufficient resource allocation to cause impact (default settings are vulnerable). The C:L impact in CVSS suggests information disclosure may occur through verbose error messages revealing server configuration details during OOM conditions. |
| Impact | Real-world risk is MODERATE despite the 8.2 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates trivial remote exploitation requiring no authentication or user interaction, which initially suggests high urgency. However, the impact is purely availability-focused (A:H) with minimal confidentiality compromise (C:L, likely from error messages). The attack requires no special conditions beyond an image upload endpoint being accessible, which is default functionality in social networking platforms. EPSS data is unavailable but the low attack complexity and detailed technical disclosure (including fix commit 12357113b) increase exploitation likelihood. This is NOT a KEV-listed vulnerability, suggesting no confirmed widespread exploitation. The SSVC framework classifies this as automatable (scripted attacks trivial), with controlled technical impact (DoS only, no data loss), making it a priority for internet-facing OSSN instances but lower urgency than RCE vulnerabilities. Primary risk is to resource-constrained hosting environments where a single malicious upload can cascade to service-wide impact. Defense-in-depth environments with rate limiting and resource quotas significantly reduce real-world exploitability. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts a PNG image with dimensions set to 10000×10000 pixels in the file header while keeping the compressed file size under typical upload limits (e.g., 5MB) through aggressive compression. They navigate to the OSSN registration or profile upload page and submit the malicious image. The server accepts the file, begins decompressing with GD library, and attempts to allocate 400MB+ of memory. With default PHP memory_limit of 128MB, the process crashes with a fatal error. If memory_limit is higher or multiple concurrent uploads occur, the server exhausts available RAM, causing the web server to become unresponsive or triggering the kernel OOM killer, taking down the entire OSSN instance and potentially affecting co-hosted services. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Resource exhaustion in Open Source Social Network (OSSN) versions prior to 9.0 allows remote unauthenticated attackers to trigger Denial of Service by uploading specially crafted images with extreme pixel dimensions (e.g., 10000×10000). While the compressed file size appears small, server-side decompression and resizing allocates excessive memory and CPU, crashing or degrading service. EPSS exploitation probability data not available, but the attack vector is straightforward (AV:N/AC:L/PR:N) with publicly documented technical details and fix commit available on GitHub. CVSS 8.2 reflects the easy remote exploitation path despite limited confidentiality impact.
RemediationAI
Upgrade to OSSN 9.0 immediately, which introduces strict image dimension validation and improved resource management during processing. The fix is implemented in commit 12357113b3be189da7f6e429979a464e4f982117 available at https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/12357113b3be189da7f6e429979a464e4f982117. For environments unable to upgrade immediately, implement layered mitigations: (1) Edit php.ini to set memory_limit to 256M or lower and max_execution_time to 30 seconds, which limits blast radius but may break legitimate large image uploads; (2) Add server-side validation rejecting images exceeding 4000×4000 pixels by parsing image headers with getimagesize() before GD/ImageMagick processing, avoiding resource allocation entirely; (3) Implement upload rate limiting (e.g., 5 uploads per user per hour) to prevent automated DoS campaigns. Note that php.ini limits alone may still allow degradation if multiple concurrent malicious uploads occur, so dimension validation is the most effective compensating control. Client-side validation provides UX improvement but is bypassable and should not be relied upon for security.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits CWE-770 (Allocation of Resources Without Limits or Throttling) in OSSN's image processing pipeline. When users upload profile pictures or other image content, OSSN uses PHP's GD library or ImageMagick to decompress and resize images. Compressed image formats like PNG or JPEG can store extreme pixel dimensions in file headers while maintaining small file sizes through compression. During server-side processing, the application allocates memory proportional to width × height × color_depth to build the uncompressed bitmap in memory. A 10000×10000 pixel image requires approximately 400MB of RAM for a 32-bit RGBA bitmap, easily exhausting PHP's default memory_limit. The affected CPE indicates all versions of opensource-socialnetwork prior to the 9.0 release are vulnerable, as they lack dimension validation before resource allocation.
Know when Opensource Socialnetwork gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
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.
Executive ViewAI
Open Source Social Network (OSSN) versions before 9.0 contain a resource exhaustion vulnerability allowing remote attackers to trigger service-disrupting denial of service attacks through malicious image uploads, with no vendor patch currently available. Organizations running affected OSSN instances face immediate risk of application unavailability and service degradation, requiring urgent defensive measures until patching becomes possible.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement WAF rules rejecting image uploads with dimensions exceeding safe thresholds (5000×5000 pixels); (2) Deploy per-user and per-IP upload rate limiting; (3) Configure strict memory and CPU resource quotas on the OSSN application process; (4) Place image upload functionality behind authenticated access only if operationally feasible; (5) Monitor available GitHub commits for the fix and consider backporting if technical capability exists; (6) Enable detailed logging on upload attempts to detect exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Opensource Socialnetwork
View allInformation disclosure in Open Source Social Network (OSSN) through 10.1 allows authenticated users to read other users'
Unauthenticated file disclosure in Open Source Social Network (OSSN) through version 10.1 lets remote attackers download
An issue was discovered in Open Source Social Network (OSSN) through 5.3. Rated medium severity (CVSS 5.9), this vulnera
Open Source Social Network (OSSN) 8.6 is vulnerable to Cross Site Scripting (XSS) via the parameter param` at endpoint u
OSSN (Open Source Social Network) 8.6 is vulnerable to SQL Injection in /action/rtcomments/status via the timestamp para
PHP code injection in Open Source Social Network (OSSN) through the dynamic cache settings handler at actions/administra
EUVD-2026-25384
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB