Vulnerability in Carbonphp Carbon

CVE-2025-22145

Carbon is an international PHP extension for DateTime. Application passing unsanitized user input to Carbon::setLocale are at risk of arbitrary file include, if the application allows users to upload files with .php extension in an folder that allows include or require to read it, then they are at risk of arbitrary code ran on their servers. This vulnerability is fixed in 3.8.4 and 2.72.6.

Published · last modified .

EPSS exploit prediction

EPSS 0.008, 55.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 4 other repositories (blue-goheimochi/phpcon-nagoya2025, fkie-cad/nvd-json-data-feeds, sonalvijit/cve, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References