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.003, 17.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gabime Spdlog
- Spdlog — versions 1.15.0, 1.15.1, 1.15.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-312609 | spdlog pattern_formatter-inl.h scoped_padder resource consumption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-312609 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #592999 | spdlog spdlog 1.15.1 (commit 3335c38) Uncontrolled Memory Allocation (Third Party Advisory, VDB Entry, 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)