4.8medium
spdlog pattern_formatter-inl.h scoped_padder resource consumption
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| spdlog | 1.15.0, 1.15.1 Not affected: 1.15.2 | CVE List |
| gabime spdlog | before 1.15.2 | NVD |
All scores
| VulDB | 4.8medium CVSS:4.0 | 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.3low CVSS:3.1 | 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.3low CVSS:3.0 | 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 | 1.7low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
Classification
What each source says
CVE List
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.
CVE List (de)
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.
NVD (es)
Se encontró una vulnerabilidad clasificada como problemática en spdlog hasta la versión 1.15.1. Esta afecta a la función scoped_padder de la librería include/spdlog/pattern_formatter-inl.h. La manipulación provoca el consumo de recursos. Es posible lanzar el ataque contra el host local. Se ha hecho público el exploit y puede que sea utilizado. Actualizar a la versión 1.15.2 puede solucionar este problema. El identificador del parche es 10320184df1eb4638e253a34b1eb44ce78954094. Se recomienda actualizar el componente afectado.
References
| https://vuldb.com/?id.312609 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.312609 | permissions-required, signature, vdb-entry | |
| https://vuldb.com/?submit.592999 | third-party-advisory, vdb-entry | |
| 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/commit/10320184df1eb4638e253a34b1eb44ce78954094 | patch | |
| https://github.com/gabime/spdlog/releases/tag/v1.15.2 | patch, release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6140 changed 2025-06-17 | CVE Terms of Use |
| NVD | CVE-2025-6140 changed 2026-06-17 | Public domain |