Every CVE Search/ Get API key

CVE-2025-6140

spdlog pattern_formatter-inl.h scoped_padder resource consumption

4.8 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.25%Up 0.2 points since Jun 17, 2025
90%50%10%1%

What each source reports

CVE List Score used 4.8

spdlog pattern_formatter-inl.h scoped_padder resource consumption

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.

Record
CVE-2025-6140
CVSS 4.0
4.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
CVSS 3.0
3.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
CVSS 2.0
1.7 AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C
Weakness
CWE-400, CWE-404
Updated
2026-11-02
EUVDEUVD-2025-18431 4.8

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.

Record
EUVD-2025-18431
CVSS 4.0
4.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Updated
2026-11-02
GitHub AdvisoriesGHSA-jp5g-8qgr-gfpx 1.9

A vulnerability, which was classified as problematic, was found in spdlog up to 1.15.1. This...

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.

Record
GHSA-jp5g-8qgr-gfpx
CVSS 4.0
1.9 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
NVD 1.9

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.

Record
CVE-2025-6140
CVSS 4.0
1.9 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0
1.7 LowAV:L/AC:L/Au:S/C:N/I:N/A:P
Weakness
CWE-400, CWE-404
Updated
2026-11-02
OSV 1.9

spdlog pattern_formatter-inl.h scoped_padder resource consumption

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.

Record
CVE-2025-6140
CVSS 4.0
1.9 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Weakness
CWE-400, CWE-404
Updated
2026-11-02
OSVDEBIAN-CVE-2025-6140 1.9

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.

Record
DEBIAN-CVE-2025-6140
CVSS 4.0
1.9 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2025-6140 1.9

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.

Record
UBUNTU-CVE-2025-6140
CVSS 4.0
1.9 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-64070 No score

CVE-2025-6140 affecting package doxygen for versions less than 1.9.8-2

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.

Record
AZL-64070
Updated
2026-11-05
OSVMGASA-2025-0294 No score

Updated spdlog packages fix security vulnerability

Spdlog pattern_formatter-inl.h scoped_padder resource consumption. (CVE-2025-6140)

Record
MGASA-2025-0294
Updated
2026-11-02
OSVopenSUSE-SU-2025:15297-1 No score

libspdlog1_15-1.15.3-2.1 on GA media

These are all security issues fixed in the libspdlog1_15-1.15.3-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15297-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
doxygen
Azure Linux:3
before 1.9.8-2
1.9.8-2
spdlog
Debian:12
All versions, plus listed versions
1:1.10.0+ds-0.41:1.10.0+ds-11:1.11.0+ds-0exp01:1.12.0+ds-11:1.12.0+ds-1~exp
Show 9 moreShow less
1:1.12.0+ds-21:1.15.0+ds-11:1.15.0+ds-1~exp11:1.15.0+ds-1~exp21:1.15.0+ds-21:1.15.1+ds-11:1.15.2+ds-11:1.15.2+ds-21:1.15.3+ds-1
None known
spdlog
Debian:13
before 1:1.15.2+ds-1
1:1.15.2+ds-1
spdlog
Debian:14
before 1:1.15.2+ds-1
1:1.15.2+ds-1
spdlog
Mageia:9
before 1.11.0-4.1.mga9
1.11.0-4.1.mga9
spdlog
Ubuntu:16.04:LTS
All versions, plus listed versions
1.4-11.6-1
None known
spdlog
Ubuntu:18.04:LTS
All versions, plus listed versions
1:0.11.0-31:0.14.0-11:0.16.3-1
None known
spdlog
Ubuntu:20.04:LTS
All versions, plus listed versions
1:1.3.1-11:1.5.0-1
None known
spdlog
Ubuntu:22.04:LTS
All versions, plus listed versions
1:1.8.1+ds-2.1ubuntu11:1.8.5+ds-31:1.9.2+ds-0.2
None known
spdlog
Ubuntu:24.04:LTS
All versions, plus listed versions
1:1.10.0+ds-0.41:1.12.0+ds-21:1.12.0+ds-2build1
None known
spdlog
openSUSE:Tumbleweed
before 1.15.3-2.1
1.15.3-2.1

History

History
RecordedChangedSources
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-6140 is a medium vulnerability (CVSS 4.8) in Gabime Spdlog, published June 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.25%, the 16th percentile. Fixed in doxygen 1.9.8-2.

References

Show 10 moreShow less
MoveEnter Open