CVE-2025-6140
spdlog pattern_formatter-inl.h scoped_padder resource consumption
- State
- Published
- Severity
- 4.8 Medium
- Published
- Jun 16, 2025
- Updated
- Jun 17, 2025
- Reserved
- Jun 15, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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 | VulDB |
| 3.1 | 3.3 Low | 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 | VulDB |
| 3.0 | 3.3 Low | 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 | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
spdlogn/a |
|
References
- VDB-312609 | spdlog pattern_formatter-inl.h scoped_padder resource consumptionvdb-entrytechnical-description
- VDB-312609 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #592999 | spdlog spdlog 1.15.1 (commit 3335c38) Uncontrolled Memory Allocationthird-party-advisory
- https://github.com/gabime/spdlog/issues/3360exploitissue-tracking
- https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422issue-tracking
- https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094patch
- https://github.com/gabime/spdlog/releases/tag/v1.15.2patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.