Skip to main content

Elgg CVE-2026-65650

| EUVDEUVD-2026-47759 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-22 mitre GHSA-7983-35fr-8qwm
4.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Recon
    Register or obtain Elgg user account
  2. Delivery
    Craft image with extreme pixel dimensions
  3. Exploit
    Upload image as profile avatar
  4. Install
    ImageService invokes GD resize without dimension check
  5. C2
    GD allocates excessive memory buffer
  6. Execute
    Server OOM condition
  7. Impact
    Service disruption for all users

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

Attacker must hold a valid Elgg user account with permission to upload avatar images, corresponding to CVSS PR:L (low privileges). The vulnerable code paths - resize() and fixOrientation() in Elgg/ImageService.php - are triggered during avatar processing, so the feature must be accessible to the attacker's account role. Elgg must be using the default GD library image processor; the fix's commentary implies alternative processors may have different behavior. Anonymous/unauthenticated exploitation is not possible per the CVSS PR:L vector. The primary limiting factor is account access: closed or invite-only Elgg communities face substantially lower risk than open-registration deployments. The attack affects only availability (A:L) - there is no confidentiality or integrity component.

Impact

The CVSS 4.3 score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L accurately reflects the real-world risk profile. The attack is network-reachable with low complexity, but is gated behind authenticated access (PR:L), which materially constrains the attacker pool to registered users. The availability impact is rated Low (A:L), consistent with a service degradation rather than guaranteed complete crash, though in practice a sufficiently large image on a memory-constrained server could cause PHP process termination or OOM kills affecting all concurrent users. No KEV listing and no public exploit identified at time of analysis, so this is not an actively-weaponized issue. EPSS data was not provided; the risk is primarily relevant to Elgg deployments that permit open user registration, as closed communities significantly reduce exposure. This is a genuine but bounded risk - not a high-priority emergency, but warranting prompt patching given the low attacker effort required once an account is obtained.

Exploit ScenarioDerived

An authenticated Elgg user obtains or generates an image with extreme pixel dimensions - for example, a valid PNG file with metadata declaring a 30,000 x 30,000 pixel canvas - and uploads it as their profile avatar. Elgg's ImageService calls the GD library to resize the image without first inspecting its dimensions, causing PHP to allocate several gigabytes of memory for the uncompressed pixel buffer; on a server with limited RAM this triggers an OOM kill or process crash, denying service to all concurrent users. No public exploit code has been identified at time of analysis, though the attack technique requires no specialized tooling beyond an image editor or simple script.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 22, 2026

Elgg's ImageService processes avatar uploads without validating source image dimensions prior to resizing, allowing authenticated users to trigger out-of-memory (OOM) conditions on the hosting server. All Elgg releases before 7.0.0 are affected; the fix introduced in 7.0.0 enforces hard limits on image height, width, and total resolution before any GD library resize operation is invoked. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV, but the technique is conceptually trivial for any authenticated user with avatar upload access.

RemediationAI

Upgrade to Elgg 7.0.0 or later, which enforces image dimension validation via the new assertValidImageDimensions() method introduced in commit ab91d59dc2caaa3fdbfe7e9b916fc0cc7e6b323a (PR #15041 at https://github.com/Elgg/Elgg/pull/15041). Default limits in 7.0.0 are 10,000px maximum height, 10,000px maximum width, and 16,777,216 pixels (16MP) maximum total resolution, all configurable via $CONFIG->image_resize_max_height, $CONFIG->image_resize_max_width, and $CONFIG->image_resize_max_resolution. For sites unable to upgrade immediately, restricting upload file size at the web server layer (e.g., Nginx client_max_body_size or Apache LimitRequestBody) provides partial mitigation but does not fully prevent the attack, because a compressed PNG or TIFF can be very small on disk yet expand to an enormous pixel buffer - file size limits do not bound decompressed memory allocation. A more effective compensating control is to disable avatar uploads entirely for untrusted user roles, or to restrict account registration to verified users, which eliminates the PR:L attacker foothold. Note that no official Elgg security advisory URL beyond the GitHub PR was identified in the provided references.

Affected VersionsENISA

Elgg 7.0.0-rc.1 <7.0.0
Elgg 0 <6.3.5

Affected Packages

euvd elgg fix: 6.3.5, 7.0.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

Elgg is an open-source PHP social networking framework. The vulnerable code resides in engine/classes/Elgg/ImageService.php, specifically in the resize() and fixOrientation() methods, which invoke PHP's GD library to process uploaded images. CWE-770 (Allocation of Resources Without Limits or Throttling) describes the root cause precisely: GD allocates an uncompressed pixel buffer proportional to the image's width-times-height pixel count, regardless of the compressed file size on disk. A crafted image with extreme pixel dimensions - say 50,000 x 50,000 pixels - forces GD to allocate roughly 7.5 GB of RAM for a standard 24-bit image, exhausting server memory. The fix, confirmed in commit ab91d59dc2caaa3fdbfe7e9b916fc0cc7e6b323a, adds a new assertValidImageDimensions() method that calls PHP's getimagesize() before any resize operation and rejects images exceeding 10,000px height, 10,000px width, or 16,777,216 total pixels (16MP). These limits are also exposed as configurable settings ($CONFIG->image_resize_max_height, image_resize_max_width, image_resize_max_resolution) in elgg-config/settings.example.php. CPE cpe:2.3:a:elgg:elgg:*:*:*:*:*:*:*:* covers all versions prior to 7.0.0.

Know when Elgg 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

Vendor (mitre) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 4.3 MEDIUM

Network-delivered upload requires an authenticated user account (PR:L); GD OOM is availability-only with no confidentiality or integrity impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

1
Patch available
Jul 22, 2026 - 19:17 EUVD

DescriptionCVE.org

Elgg before 7.0.0 does not check image dimensions to prevent denial of service via a large avatar upload.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Low
niche open-source PHP social networking framework, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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