# CVE-2025-6140: spdlog pattern_formatter-inl.h scoped_padder resource consumption

CVE-2025-6140 is fixed in spdlog on 1 platform, first by DEBIAN-CVE-2025-6140, released June 16, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-6140
- Priority: Routine
- CVSS: 3.3 (Moderate)
- EPSS: 0.0025
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 16, 2025
- Weakness: Uncontrolled Resource Consumption
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | spdlog Debian 13.5 (trixie) | 1:1.15.2+ds-1 | [DEBIAN-CVE-2025-6140](https://patchblox.com/security/data/fix/linux/debian-cve-2025-6140.md) | Jun 16, 2025 |
| Linux | spdlog Debian 14 | 1:1.15.2+ds-1 | [DEBIAN-CVE-2025-6140](https://patchblox.com/security/data/fix/linux/debian-cve-2025-6140.md) | Jun 16, 2025 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
