Home / mailings [USN-9332-1] Carbon vulnerability
Posted on 02 December 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-9332-1
December 01, 2026
php-nesbot-carbon vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 20.04 LTS
Summary:
Carbon could be made to run programs if it received specially crafted
input.
Software Description:
- php-nesbot-carbon: date and time library for PHP
Details:
It was discovered that Carbon did not properly validate locale names. If an
application passed unsanitized user input as a locale and allowed users to
upload files with a .php extension, a remote attacker could possibly use
this issue to include arbitrary files and execute arbitrary code.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 20.04 LTS
php-nesbot-carbon 1.27.0-2ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-9332-1
CVE-2025-22145
--===============6753889452785237091==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
