CVE-2025-6140

Source
https://cve.org/CVERecord?id=CVE-2025-6140
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6140.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-6140
Downstream
Related
Published
2025-06-16T22:16:41.250Z
Modified
2026-04-16T04:38:27.371203187Z
Severity
  • 1.9 (Low) CVSS_V4 - 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 Calculator
Summary
[none]
Details

A vulnerability, which was classified as problematic, was found in spdlog up to 1.15.1. This affects the function scopedpadder in the library include/spdlog/patternformatter-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.

References

Affected packages

Git / github.com/gabime/spdlog

Affected ranges

Type
GIT
Repo
https://github.com/gabime/spdlog
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.15.2"
        }
    ]
}

Affected versions

v0.*
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.16.0
v0.16.2
v0.16.3
v0.9.0
v1.*
v1.0.0
v1.1.0
v1.10.0
v1.11.0
v1.12.0
v1.13.0
v1.14.0
v1.14.1
v1.15.0
v1.15.1
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.4.1
v1.4.2
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.9.0
v1.9.1
v1.9.2

Database specific

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "266626752174534969253711656332395698979",
                "33049029196327953352268524045775596974",
                "85413020754531843428162225016699445103",
                "225308725393103398085647086215763497220",
                "214790840583266415246517559108143896162",
                "271273134087382451741017967315108797037",
                "217470514122165206376801883539745321245",
                "314227014074359633980559311905356436502",
                "114173354317350526231163493016195710425",
                "45450273720038561604224544122718354190",
                "294755952148080481921555920830783627227",
                "145090529166124750965777530800787878800",
                "222323353592246657680777835115882007814"
            ]
        },
        "target": {
            "file": "include/spdlog/pattern_formatter-inl.h"
        },
        "id": "CVE-2025-6140-7903dbf1",
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "source": "https://github.com/gabime/spdlog/commit/10320184df1eb4638e253a34b1eb44ce78954094"
    }
]
vanir_signatures_modified
"2026-04-12T18:28:20Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6140.json"