spdlog up to 1.15.1 pattern_formatter-inl.h scoped_padder resource consumption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.1 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in spdlog up to 1.15.1 and classified as problematic. Affected by this vulnerability is the function scoped_padder in the library include/spdlog/pattern_formatter-inl.h. Performing a manipulation results in resource consumption.
This vulnerability is cataloged as CVE-2025-6140. The attack must be initiated from a local position. Furthermore, there is an exploit available.
The affected component should be upgraded.
Details
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 with an unknown input leads to a resource consumption vulnerability. CWE is classifying the issue as CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. This is going to have an impact on availability.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2025-6140. The exploitability is told to be easy. An attack has to be approached locally. Technical details and a public exploit are known.
The exploit is shared for download at github.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 240225 (Fedora 41 : spdlog (2025-7d5c7fe0c7)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.15.2 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 10320184df1eb4638e253a34b1eb44ce78954094 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (240225). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 3.3VulDB Meta Temp Score: 3.1
VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 3.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Resource consumptionCWE: CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 240225
Nessus Name: Fedora 41 : spdlog (2025-7d5c7fe0c7)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: spdlog 1.15.2
Patch: 10320184df1eb4638e253a34b1eb44ce78954094
Timeline
06/15/2025 Advisory disclosed06/15/2025 VulDB entry created
07/03/2025 VulDB entry last update
Sources
Advisory: 3360Status: Confirmed
Confirmation: 🔒
CVE: CVE-2025-6140 (🔒)
GCVE (CVE): GCVE-0-2025-6140
GCVE (VulDB): GCVE-100-312609
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 06/15/2025 13:02Updated: 07/03/2025 06:35
Changes: 06/15/2025 13:02 (61), 06/17/2025 11:41 (30), 06/21/2025 17:35 (2), 07/03/2025 06:35 (1)
Complete: 🔍
Submitter: JJLeo
Cache ID: 216::103
Submit
Accepted
- Submit #592999: spdlog spdlog 1.15.1 (commit 3335c38) Uncontrolled Memory Allocation (by JJLeo)
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.