CVE-2025-6140
Severity CVSS v4.0:
MEDIUM
Type:
CWE-400
Uncontrolled Resource Consumption ('Resource Exhaustion')
Publication date:
16/06/2025
Last modified:
02/07/2025
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.
Impact
Base Score 4.0
4.80
Severity 4.0
MEDIUM
Base Score 3.x
3.30
Severity 3.x
LOW
Base Score 2.0
1.70
Severity 2.0
LOW
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:gabime:spdlog:*:*:*:*:*:*:*:* | 1.15.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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
- https://vuldb.com/?ctiid_312609=
- https://vuldb.com/?id_312609=
- https://vuldb.com/?submit_592999=
- https://github.com/gabime/spdlog/issues/3360