Resource exhaustion in Gabime Spdlog
CVE-2025-6140
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.002 (13.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 13.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Gabime Spdlog
- Spdlog — versions 1.15.0, 1.15.1, 1.15.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, third-party-advisory)
- github.com/gabime/spdlog/issues/3360 (issue-tracking, Exploit, exploit, Issue Tracking)
- github.com/gabime/spdlog/issues/3360 (issue-tracking, Exploit, Issue Tracking)
- github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094 (Patch, patch)
- github.com/gabime/spdlog/releases/tag/v1.15.2 (Release Notes, patch)
Frequently asked questions
- What is CVE-2025-6140?
- CVE-2025-6140 is a low-severity vulnerability in Gabime Spdlog, classified under Uncontrolled Resource Consumption. CVSS score: 3.3/10. Published 2025-06-16.
- How severe is CVE-2025-6140?
- Low severity. CVSS v3 base score is 3.3 out of 10.
- Is CVE-2025-6140 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.