CVE-2025-6140

Name
CVE-2025-6140
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
patch https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094
exploit https://github.com/gabime/spdlog/issues/3360
issue-tracking https://github.com/gabime/spdlog/issues/3360#issuecomment-2729579422
patch https://github.com/gabime/spdlog/releases/tag/v1.15.2
signature https://vuldb.com/?ctiid.312609
vdb-entry https://vuldb.com/?id.312609
third-party-advisory https://vuldb.com/?submit.592999

Match rules

CPE URI Source package Min version Max version
spdlog == 1.15.0 == 1.15.0
spdlog == 1.15.1 == 1.15.1
spdlog == 1.15.2 == 1.15.2
cpe:2.3:a:gabime:spdlog:*:*:*:*:*:*:*:* spdlog >= None < 1.15.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
spdlog edge-community 1.15.2-r0 fossdd <fossdd@pwned.life> possibly vulnerable
spdlog edge-community 1.15.1-r0 fossdd <fossdd@pwned.life> possibly vulnerable
spdlog edge-community 1.15.0-r2 fossdd <fossdd@pwned.life> possibly vulnerable
spdlog edge-community 1.15.0-r1 None possibly vulnerable
spdlog edge-community 1.15.0-r0 None possibly vulnerable
spdlog 3.22-community 1.15.0-r0 None possibly vulnerable