Skip to main content

Open Source Social Network EUVDEUVD-2026-25384

| CVE-2026-41309 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-24 GitHub_M
8.2
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access OSSN upload endpoint
  2. Delivery
    Submit crafted high-dimension image
  3. Exploit
    Trigger server-side decompression
  4. Execution
    Exhaust memory allocation
  5. Persist
    Crash PHP process
  6. Impact
    Service 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

opensource-socialnetwork < 9.0

Affected Packages

euvd opensource_socialnetwork fix: 9.0

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

GitHub Advisory PRIMARY 8.2 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 20:56 nvd
Patch available
Patch available
Apr 24, 2026 - 05:31 EUVD
CVE Published
Apr 24, 2026 - 02:31 nvd
HIGH 8.2

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 82% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy