CVE-2025-6140
published medium CVSS 4.0 · 4.8spdlog pattern_formatter-inl.h scoped_padder resource consumption
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | spdlog1.15.0 (affected) · 1.15.1 (affected) · 1.15.2 (unaffected) | Version-specific | Not stated | VulDB |
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15aarch64 | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15ppc64le | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15s390x | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15x86_64 | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15-32bitaarch64 | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15-32bitppc64le | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15-32bits390x | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libspdlog1_15-32bitx86_64 | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spdlog-develaarch64 | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spdlog-develppc64le | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spdlog-devels390x | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spdlog-develx86_64 | Advisory build | 1.15.3-2.1 | OPENSUSE-SU-2025:15297-1 |
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.
Es wurde eine problematische Schwachstelle in spdlog bis 1.15.1 gefunden. Betroffen hiervon ist die Funktion scoped_padder in der Bibliothek include/spdlog/pattern_formatter-inl.h. Dank der Manipulation mit unbekannten Daten kann eine resource consumption-Schwachstelle ausgenutzt werden. Der Angriff muss lokal erfolgen. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 1.15.2 vermag dieses Problem zu lösen. Der Patch wird als 10320184df1eb4638e253a34b1eb44ce78954094 bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | 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 | — |
| 3.0 | 3.3 | low | VulDB · cna | 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 | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | spdlog | 1.15.0 (affected)1.15.1 (affected)1.15.2 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-400 Resource Consumption
- CWE-404 Denial of Service
References
7- https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094
- https://github.com/gabime/spdlog/issues/3360
- https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422
- https://github.com/gabime/spdlog/releases/tag/v1.15.2
- VDB-312609 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.312609
- VDB-312609 | spdlog pattern_formatter-inl.h scoped_padder resource consumption https://vuldb.com/?id.312609
- Submit #592999 | spdlog spdlog 1.15.1 (commit 3335c38) Uncontrolled Memory Allocation https://vuldb.com/?submit.592999
Provider assertions
2VulDB · cna
spdlog pattern_formatter-inl.h scoped_padder resource consumption
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3a8307b31b0152b9a6702dfa46c3468209e13b001ce560416196063e5d846a70
- Ingested
- 23 Sep 2026, 08:57:43 UTC
- Source record
- Official CVE record