CVE-2025-6140
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.
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
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 Medium
CVSS: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 Low
CVSS: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 Low
CVSS: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 Medium
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - CVSS 2.0
- 1.7 Low
AV: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
doxygenAzure Linux:3 |
before 1.9.8-2 | 1.9.8-2 |
spdlogDebian: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 less1: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 |
spdlogDebian:13 |
before 1:1.15.2+ds-1 | 1:1.15.2+ds-1 |
spdlogDebian:14 |
before 1:1.15.2+ds-1 | 1:1.15.2+ds-1 |
spdlogMageia:9 |
before 1.11.0-4.1.mga9 | 1.11.0-4.1.mga9 |
spdlogUbuntu:16.04:LTS |
All versions, plus listed versions 1.4-11.6-1 |
None known |
spdlogUbuntu:18.04:LTS |
All versions, plus listed versions 1:0.11.0-31:0.14.0-11:0.16.3-1 |
None known |
spdlogUbuntu:20.04:LTS |
All versions, plus listed versions 1:1.3.1-11:1.5.0-1 |
None known |
spdlogUbuntu: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 |
spdlogUbuntu: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 |
spdlogopenSUSE:Tumbleweed |
before 1.15.3-2.1 | 1.15.3-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE 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
vuldb.com?id.312609
vuldb.com?ctiid.312609
vuldb.com?submit.592999
github.com/gabime/spdlog/issues/3360
github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094
github.com/gabime/spdlog/releases/tag/v1.15.2
Show 10 moreShow less
nvd.nist.gov/vuln/detail/CVE-2025-6140
github.com/advisories/GHSA-jp5g-8qgr-gfpx
github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6140.json
security-tracker.debian.org/tracker/CVE-2025-6140
advisories.mageia.org/MGASA-2025-0294.html
bugs.mageia.org/show_bug.cgi?id=34446
lists.opensuse.org/archives/list/[email protected]/message/PKLBHCP4H6J6LCEJELBPDKGM2W4ZWDNC
ubuntu.com/security/CVE-2025-6140
cve.org/CVERecord?id=CVE-2025-6140
suse.com/security/cve/CVE-2025-6140