CVEfocus › CVE database › CVE-2025-6140

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

CVSS 3.3 LowEPSS 0.3% (higher than 20% of CVEs)Published 2025-06-16Updated 2025-06-17Assigner: VulDB

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.

CWE-400CWE-404

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
2Under investigation
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04spdlogNot affected
vulnerable_code_not_present
Ubuntu 25.10spdlogNot affected
vulnerable_code_not_present
Ubuntu 24.04spdlogUnder investigationUBUNTU-CVE-2025-6140
Ubuntu 22.04spdlogUnder investigationUBUNTU-CVE-2025-6140
Ubuntu 20.04spdlogFix pendingUBUNTU-CVE-2025-6140
Ubuntu 18.04spdlogFix pendingUBUNTU-CVE-2025-6140
Ubuntu 16.04spdlogFix pendingUBUNTU-CVE-2025-6140
Debian 14spdlogFixed1:1.15.2+ds-1DEBIAN-CVE-2025-6140
Debian 13spdlogFixed1:1.15.2+ds-1DEBIAN-CVE-2025-6140
Debian 12spdlogFix pendingDEBIAN-CVE-2025-6140

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.