Skip to main content

spdlog EUVDEUVD-2025-18431

| CVE-2025-6140 LOW
Uncontrolled Resource Consumption (CWE-400)
2025-06-16 cna@vuldb.com
1.9
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege access
  2. Delivery
    Craft malicious log input
  3. Exploit
    Trigger scoped_padder with negative size
  4. Execution
    Cause resource exhaustion
  5. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2021 - Security Misconfiguration
ASVS 5.0
V14 - Configuration Security hardening, default configuration review
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local access with low privileges (PR:L) is required. The attacker must be able to inject a crafted log pattern or message that reaches the vulnerable scoped_padder function. No special configuration beyond default spdlog usage is needed.

Impact

CVSS 4.0 base score 1.9 (AV:L/AC:L/PR:L/UI:N) indicates low severity with local access and low privileges required. EPSS score 0.05% (14th percentile) suggests very low exploitation probability. Public POC exists but no KEV listing. SSVC: exploitation status 'public POC', automatable likely no, technical impact partial (availability only). Overall risk is low for most environments.

Exploit ScenarioDerived

A local attacker with low privileges crafts a log message that triggers the scoped_padder with a negative size, causing excessive resource consumption and denial of service. Public exploit code is available on GitHub.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 26, 2026

Denial of service in spdlog up to 1.15.1 via the scoped_padder function in pattern_formatter-inl.h allows local attackers to cause resource consumption. Public exploit code exists, but EPSS score is low (0.05%) and no active exploitation in CISA KEV.

Earlier versions of this analysis (1)
v1 Mar 14, 2026 - 21:59 CVSS 3.3

RemediationAI

Upgrade to spdlog version 1.15.2, which contains the fix commit 10320184df1eb4638e253a34b1eb44ce78954094. No workarounds are documented; as a local low-privilege issue, restricting local access or monitoring resource usage may mitigate impact.

Affected VersionsENISA

spdlog 1.15.1
spdlog 1.15.0

Affected Packages

euvd spdlog no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

spdlog is a fast C++ logging library. The vulnerability is a CWE-400 (Uncontrolled Resource Consumption) in the scoped_padder helper used for formatting log patterns. The issue involves improper handling of negative size values, leading to excessive memory or CPU usage. CPE data confirms all versions up to 1.15.1 are affected.

Know when Spdlog gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 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
vuln.today AI 3.3 LOW

Local attack, low privileges, no user interaction, only availability impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Ubuntu MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
CVSS changed
Apr 29, 2026 - 01:11 NVD
3.3 (LOW) 1.9 (LOW)
Patch released
Mar 14, 2026 - 21:59 nvd
Patch available
PoC Detected
Jul 02, 2025 - 18:58 vuln.today
Public exploit code
CVE Published
Jun 16, 2025 - 22:16 nvd
LOW 3.3
CVE Published
Jun 16, 2025 - 22:16 cve.org
LOW 1.9

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2025-6140 is a low-severity vulnerability in spdlog involving resource exhaustion (CVSS 3.3). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. A patch is available and can be applied during standard maintenance windows.

Business Impact: Low
Compensating Controls

Apply vendor patch during routine maintenance. Standard denial of service mitigations apply if patching is delayed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Prevalence
High
widely used C++ logging library
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

Ubuntu

Priority: Medium
spdlog
Release Status Version
xenial needs-triage -
bionic needs-triage -
focal needs-triage -
jammy needs-triage -
noble needs-triage -
upstream released 1:1.15.2+ds-1
plucky ignored end of life, was needs-triage
oracular ignored end of life, was needs-triage
questing not-affected 1:1.15.3+ds-1

Debian

spdlog
Release Status Fixed Version Urgency
bullseye vulnerable 1:1.8.1+ds-2.1 -
bookworm vulnerable 1:1.10.0+ds-0.4 -
trixie fixed 1:1.15.2+ds-2 -
forky, sid fixed 1:1.15.3+ds-1 -
(unstable) fixed 1:1.15.2+ds-1 -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy