Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-22145

published medium CVSS 4.0 · 6.3

Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale

Published
08 Jan 2025, 20:40:37 UTC
Updated
25 Feb 2025, 13:07:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
CarbonPHP — carbon< 2.72.6 · >= 3.0.0, < 3.8.4 Affected Not stated GitHub_M
Debian bullseye php-nesbot-carbon Advisory build 2.32.2-1+deb11u1 DLA-4068-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
6.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
CarbonPHP carbon < 2.72.6 (affected)>= 3.0.0, < 3.8.4 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-98 CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') (GitHub_M · cna)

References

3

Provider assertions

3

GitHub_M · cna

Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
bcf1c6e2399d593bced85d281a31d4c6b68c0c0424c8ebb5e1761b36c0af4830
Ingested
23 Sep 2026, 08:40:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected