{"id":"USN-9332-1","summary":"php-nesbot-carbon vulnerability","details":"It was discovered that Carbon did not properly validate locale names. If an\napplication passed unsanitized user input as a locale and allowed users to\nupload files with a .php extension, a remote attacker could possibly use\nthis issue to include arbitrary files and execute arbitrary code.","modified":"2026-12-02T02:28:43.950615408Z","published":"2026-12-01T17:20:51Z","related":["UBUNTU-CVE-2025-22145"],"upstream":["CVE-2025-22145","UBUNTU-CVE-2025-22145"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9332-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-22145"}],"affected":[{"package":{"name":"php-nesbot-carbon","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/php-nesbot-carbon?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.0-2ubuntu0.1~esm1"}]}],"versions":["1.27.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.27.0-2ubuntu0.1~esm1","binary_name":"php-nesbot-carbon"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2025-22145","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9332-1.json"}}],"schema_version":"1.9.2"}