VYPR
Medium severityOSV Advisory· Published Jan 8, 2025· Updated Jun 17, 2026

CVE-2025-22145

CVE-2025-22145

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
nesbot/carbonPackagist
>= 3.0.0, < 3.8.43.8.4
nesbot/carbonPackagist
< 2.72.62.72.6

Affected products

2

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.