CVE-2026-29905

Published Mar 26, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Kirby CMS through 5.1.4 allows an authenticated user with 'Editor' permissions to cause a persistent Denial of Service (DoS) via a malformed image upload. The application fails to properly validate the return value of the PHP getimagesize() function. When the system attempts to process this file for metadata or thumbnail generation, it triggers a fatal TypeError.

Analysis

AI-generated

Technical impact

Kirby CMS versions up to 5.1.4 are affected by a flaw that allows an authenticated user with Editor rights to trigger a persistent Denial of Service by uploading a specially crafted image. The vulnerability occurs because the application does not validate the return value of PHP’s getimagesize() function; when the image is processed for metadata or thumbnail creation, a fatal TypeError is raised, halting the request and potentially bringing the entire site offline.

Affected Systems

All installations of Kirby CMS 5.1.4 and earlier run this vulnerability. The issue is fixed in release 5.2.0-rc.1, so any system running that version or later is not susceptible to the weakness described.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity, but the EPSS indicates an extremely low exploitation probability (<1%). The vulnerability is not listed in CISA’s KEV catalog. Attack requires an authenticated Editor user with permission to upload images; an attacker with this privilege can repeatedly trigger a crash, leading to prolonged downtime. Because the exploit is limited to internal authenticated users, external attackers cannot directly use it unless they gain account credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kirby CMS to version 5.2.0-rc.1 or newer.
  • Ensure that only trusted users are granted Editor or higher permissions.
  • Monitor server logs for repeated TypeError entries and application crashes.
  • If upgrading is not immediately possible, temporarily disable image upload functionality or restrict it to trusted IP ranges.
  • Apply a custom PHP check to validate getimagesize() return values before proceeding with thumbnail or metadata generation.

Generated by OpenCVE AI on April 2, 2026 at 22:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cw7v-45wm-mcf2 Withdrawn Advisory: Kirby CMS has Persistent DoS via Malformed Image Upload
History
Type Values Removed Values Added
Title Persistent Denial of Service via Malformed Image Upload in Kirby CMS
Type Values Removed Values Added
CPEs cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title Persistent Denial of Service via Malformed Image Upload in Kirby CMS
Type Values Removed Values Added
First Time appeared Getkirby
Getkirby kirby
Vendors & Products Getkirby
Getkirby kirby
Type Values Removed Values Added
Weaknesses CWE-20
CWE-252
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Kirby CMS through 5.1.4 allows an authenticated user with 'Editor' permissions to cause a persistent Denial of Service (DoS) via a malformed image upload. The application fails to properly validate the return value of the PHP getimagesize() function. When the system attempts to process this file for metadata or thumbnail generation, it triggers a fatal TypeError.
References
Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-252

    Unchecked Return Value

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 26, 2026, 6:31 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Analyzed
Published
Mar 26, 2026, 5:16 PM
Modified
Jun 17, 2026, 10:29 AM