
CVE catalog
CVE-2025-22145
php-nesbot-carbon: CVE-2025-22145
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.75% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-nesbot-carbon | sid | 3.15.1-1 | fixed |
| Debian | php-nesbot-carbon | forky | 3.10.3-3 | fixed |
| Debian | php-nesbot-carbon | trixie | 2.73.0-2 | fixed |
| Debian | php-nesbot-carbon | bookworm | 2.65.0-1+deb12u1 | fixed |
| Ubuntu | php-nesbot-carbon | 20.04 | 1.27.0-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-nesbot-carbon | source | sid | 2.72.6-1 | not yet assigned | Not reported | [1092680] |
| Debian | php-nesbot-carbon | source | forky | 2.72.6-1 | not yet assigned | Not reported | [1092680] |
| Debian | php-nesbot-carbon | source | trixie | 2.72.6-1 | not yet assigned | Not reported | [1092680] |
| Debian | php-nesbot-carbon | source | bookworm | 2.65.0-1+deb12u1 | not yet assigned | Not reported | [1092680] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-nesbot-carbon]Fixed
Details (2)
2.65.0-1+deb12u1· all · bookwormFixed · Fixed:
2.65.0-1+deb12u1dsa · php-nesbot-carbon · debian · bookworm; dsa · php-nesbot-carbon · debian · 12
2.65.0-1+deb12u1· all · bookwormFixed · Fixed:
2.65.0-1+deb12u1dsa · php-nesbot-carbon · debian · bookworm; dsa · php-nesbot-carbon · debian · 12
[Debian 13 (Trixie)]
- [php-nesbot-carbon]Fixed
Details (2)
2.73.0-2· all · trixieFixed · Fixed:
2.72.6-1dsa · php-nesbot-carbon · debian · 13
2.73.0-2· all · trixieFixed · Fixed:
2.72.6-1dsa · php-nesbot-carbon · debian · 13
Observed: