CVE-2026-29905
JSON

6.5medium

Kirby CMS through 5.1.4 allows an authenticated user with 'Editor' permissions to cause a persistent Denial of Service (DoS) via a malforme…

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.66% (higher than 46% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-cw7v-45wm-mcf2

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
getkirby/cms (Packagist)before 5.2.0-rc.1GitHub Advisory Database
getkirby kirbyup to 5.1.4NVD

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-20CWE-252

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Duplicate Advisory

This advisory has been withdrawn because it is been determined to not be a vulnerability. This link is maintained to preserve external references.

Original Description

Summary

Kirby CMS through version 5.1.4 allows an authenticated user with Editor permissions to cause a persistent Denial of Service (DoS) via a malformed image upload.

Details

The vulnerability is caused by improper validation of the return value of PHP's getimagesize() function. When a malformed file is uploaded with a valid image extension (e.g., .jpg), the function returns false instead of an expected array.

The application fails to handle this condition properly and proceeds with image processing, resulting in a fatal TypeError. This leads to persistent application crashes when the affected file is accessed.

Impact

  • Persistent Denial of Service (DoS)
  • Affected pages return HTTP 500 errors
  • Requires manual removal of the malformed file to restore functionality
  • Exploitable by authenticated users with Editor permissions

Identifiers

  • CVE-2026-29905

Resources

NVD (es)

Kirby CMS hasta 5.1.4 permite a un usuario autenticado con permisos de 'Editor' causar una denegación de servicio (DoS) persistente mediante la carga de una imagen malformada. La aplicación no valida correctamente el valor de retorno de la función PHP getimagesize(). Cuando el sistema intenta procesar este archivo para la generación de metadatos o miniaturas, desencadena un TypeError fatal.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-29905 changed 2026-03-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-cw7v-45wm-mcf2 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-29905 changed 2026-06-17Public domain