CVE-2025-6140 Details
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.
A resource consumption vulnerability has been identified in spdlog versions through 1.15.1. The issue arises in the 'scoped_padder' function within 'include/spdlog/pattern_formatter-inl.h'. This vulnerability allows for uncontrolled memory allocation, leading to a denial-of-service condition. The problem can be exploited locally with specially crafted input.
Users are advised to upgrade to spdlog version 1.15.2, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gabime/spdlog/issues/3360 | CISA-ADP | ExploitIssue Tracking |
| https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094 | [email protected] | Patch |
| https://github.com/gabime/spdlog/issues/3360 | [email protected] | ExploitIssue Tracking |
| https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422 | [email protected] | ExploitIssue Tracking |
| https://github.com/gabime/spdlog/releases/tag/v1.15.2 | [email protected] | Release Notes |
| https://vuldb.com/?ctiid.312609 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.312609 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.592999 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gabime spdlog | < 1.15.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jul 2, 2025 | Initial Analysis | [email protected] |
| Jun 17, 2025 | CVE Modified | CISA-ADP |
| Jun 16, 2025 | New CVE Received | [email protected] |