Intel

AIKIDO-2025-10382

spdlog is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2025-6140 Published Jun 17, 2025

48

Medium Risk

This Affects:

c++spdlog
1.5.0 - 1.15.1
Fixed in 1.15.2
Are you affected? Scan for Free

TL;DR

A vulnerability classified as problematic was identified in spdlog. The issue affects the scoped_padder function in include/spdlog/pattern_formatter-inl.h, leading to resource consumption. An attacker could exploit this vulnerability locally. The exploit has been publicly disclosed and may be in active use.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

spdlog is vulnerable to Uncontrolled Resource Consumption in versions 1.5.0 - 1.15.1.

How to fix this

Upgrade the spdlog library to the patch version.