CVE-2025-6140 json
spdlog pattern_formatter-inl.h scoped_padder resource consumption
published 2025-06-16 16 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-18431
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
A vulnerability, which was classified as problematic, was found in spdlog up to 1.15.1. This affects the function scoped_padder in the library include/spdlog/pattern_formatter-inl.h. The manipulation leads to resource consumption. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. Upgrading to version 1.15.2 is able to address this issue. The identifier of the patch is 10320184df1eb4638e253a34b1eb44ce78954094. It is recommended to upgrade the affected component.
Patch / fix
- n/a spdlog 1.15.2
- spdlog Debian 14, Debian 13 1:1.15.2+ds-1
debian advisories DEBIAN-CVE-2025-6140
- spdlog openSUSE Tumbleweed 1.15.3-2.1
opensuse advisories openSUSE-SU-2025:15297-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-6140 updated cvss 3.3
spdlog: spdlog resource exhaustion
-
Red Hat OpenShift Container Platform 4 spdlog, openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gabime/spdlog/issues/3360 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 4.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| CNA | 3.0 | 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| CNA | 2.0 | 1.7 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
| CNA | 4.0 | 1.9 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CNA | 2.0 | 1.7 | AV:L/AC:L/Au:S/C:N/I:N/A:P |
Affected products
- n/a spdlog
Classification
References
-
github.com
/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094
patch
-
github.com
/gabime/spdlog/releases/tag/v1.15.2
patch, release-notes
-
github.com
/gabime/spdlog/issues/3360
exploit, issue-tracking
-
github.com
/gabime/spdlog/issues/3360#issuecomment-2729579422
issue-tracking, exploit
-
vuldb.com
/?id.312609
vdb-entry, technical-description, third-party-advisory
-
vuldb.com
/?ctiid.312609
signature, permissions-required, vdb-entry
-
vuldb.com
/?submit.592999
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2025-6140
- NVD CVE-2025-6140
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.