CVE Database
/

CVE-2025-22145

Back to search

CVE-2025-22145

Published: Jan 8, 2025

Modified: Feb 25, 2025

PUBLISHED

Description

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.

VendorProductVersions

CarbonPHP

carbon

affected
< 2.72.6
affected
>= 3.0.0, < 3.8.4

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now