ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2025-22145

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12php-nesbot-carbon
All versions before 2.65.0-1+deb12u1 (fixed in 2.65.0-1+deb12u1)
Debian:13php-nesbot-carbon
All versions before 2.72.6-1 (fixed in 2.72.6-1)
Debian:14php-nesbot-carbon
All versions before 2.72.6-1 (fixed in 2.72.6-1)

References