CVE-2025-6140
Spdlog Local Resource Consumption Vulnerability
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.
INFO
Published Date :
June 16, 2025, 10:16 p.m.
Last Modified :
July 2, 2025, 6:58 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
1.4
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6140
.
URL | Resource |
---|---|
https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094 | Patch |
https://github.com/gabime/spdlog/issues/3360 | Exploit Issue Tracking |
https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422 | Exploit Issue Tracking |
https://github.com/gabime/spdlog/releases/tag/v1.15.2 | Release Notes |
https://vuldb.com/?ctiid.312609 | Permissions Required VDB Entry |
https://vuldb.com/?id.312609 | Third Party Advisory VDB Entry |
https://vuldb.com/?submit.592999 | Third Party Advisory VDB Entry |
https://github.com/gabime/spdlog/issues/3360 | Exploit Issue Tracking |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6140
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-6140
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 02, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:gabime:spdlog:*:*:*:*:*:*:*:* versions up to (excluding) 1.15.2 Added Reference Type VulDB: https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094 Types: Patch Added Reference Type CISA-ADP: https://github.com/gabime/spdlog/issues/3360 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://github.com/gabime/spdlog/issues/3360 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://github.com/gabime/spdlog/releases/tag/v1.15.2 Types: Release Notes Added Reference Type VulDB: https://vuldb.com/?ctiid.312609 Types: Permissions Required, VDB Entry Added Reference Type VulDB: https://vuldb.com/?id.312609 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/?submit.592999 Types: Third Party Advisory, VDB Entry -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2025
Action Type Old Value New Value Added Reference https://github.com/gabime/spdlog/issues/3360 -
New CVE Received by [email protected]
Jun. 16, 2025
Action Type Old Value New Value Added 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. Added CVSS V4.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 Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Added CVSS V2 (AV:L/AC:L/Au:S/C:N/I:N/A:P) Added CWE CWE-404 Added CWE CWE-400 Added Reference https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094 Added Reference https://github.com/gabime/spdlog/issues/3360 Added Reference https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422 Added Reference https://github.com/gabime/spdlog/releases/tag/v1.15.2 Added Reference https://vuldb.com/?ctiid.312609 Added Reference https://vuldb.com/?id.312609 Added Reference https://vuldb.com/?submit.592999
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6140
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6140
weaknesses.