Skip to main content

Logback CVE-2026-9828

| EUVDEUVD-2026-32895 LOW
Deserialization of Untrusted Data (CWE-502)
2026-05-28 vulnerability@ncsc.ch GHSA-p47f-322f-whfh
2.9
CVSS 4.0 · Vendor: ncsc
View

Attack ChainAIDerived

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

  1. Access
    Gain local system or network access
  2. Delivery
    Identify exposed SimpleSocketServer or SimpleSSLSocketServer port
  3. Exploit
    Craft serialized payload using java.lang/java.util classes
  4. Execution
    Transmit payload to socket endpoint
  5. Persist
    HardenedObjectInputStream deserializes non-blocked classes
  6. Impact
    Achieve limited object instantiation with low confidentiality/integrity impact

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Exploitation requires that the target application has enabled and exposed logback's SimpleSocketServer or SimpleSSLSocketServer components, which are not enabled by default in standard logback deployments - they require explicit configuration. The CVSS 4.0 vector specifies AV:L (local attack vector), AC:H (high complexity), and AT:P (additional attack requirements present), meaning the attacker must have local access or be able to route serialized data to the socket server from a position that satisfies the local vector constraint. PR:N indicates no authenticated session is required once access to the socket endpoint is obtained. Exploitation is further limited by the fact that only classes from java.lang and java.util can be instantiated - no gadget chains producing RCE have been identified. Organizations not using SimpleSocketServer or SimpleSSLSocketServer are not exposed to this vulnerability.

Impact

The CVSS 4.0 base score of 1.2 accurately reflects minimal real-world risk. The vector AV:L/AC:H/AT:P indicates local attack vector, high complexity, and additional preconditions - meaning exploitation is not trivially achievable over the internet. Confidentiality and integrity impacts are rated Low for both vulnerable and subsequent systems, and availability is unaffected. The E:P exploit maturity modifier confirms some proof-of-concept exists, but this does not translate to weaponizable RCE; the description explicitly states no practical code execution path has been found. A notable discrepancy exists in the input data: the tags field includes 'RCE,' which directly contradicts the CVE description and vendor language - this tag should be treated as inaccurate and not relied upon for triage decisions. EPSS data was not provided, so exploitation probability in the wild cannot be quantified; however, the combination of AV:L, AC:H, and no known RCE path strongly suggests this is a low-probability exploitation target. This is a real but low-priority finding - primarily relevant for security teams with strict compliance requirements around deserialization hygiene or those running logback's socket server components in sensitive environments.

Exploit ScenarioDerived

An attacker with local access to a host running logback's SimpleSocketServer or SimpleSSLSocketServer crafts a malicious serialized payload containing objects from allowed java.lang or java.util classes and submits it to the listening socket. The HardenedObjectInputStream deserializes these objects without blocking them, bypassing the intended restriction and causing limited, constrained object instantiation on the target system. A proof-of-concept demonstrating the bypass exists (E:P), though no gadget chain achieving code execution has been publicly demonstrated.

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

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

Alert me

AnalysisAIv1 – May 28, 2026

Security restriction bypass in logback-core's HardenedObjectInputStream allows limited object injection via logback's SimpleSocketServer and SimpleSSLSocketServer components, affecting all versions through 1.5.32 inclusive. An attacker who can influence serialized data submitted to these socket server endpoints can instantiate objects from java.lang and java.util classes not explicitly blocked by the hardened deserializer, circumventing its intended allowlist controls. The vendor and NVD both confirm no practical remote code execution or significant privilege escalation has been identified; the real-world impact is limited confidentiality and integrity exposure. No public exploit identified at time of analysis beyond E:P proof-of-concept maturity indicated in the CVSS vector. Not listed in CISA KEV.

RemediationAI

Upgrade logback-core to version 1.5.33, which is the fix release referenced by the vendor at https://logback.qos.ch/news.html#1.5.33. The patched version is inferred from the reference URL anchor fragment but has not been independently verified against a formal advisory document - confirm the release notes at that URL before deploying. As a compensating control for organizations that cannot patch immediately, disable or firewall SimpleSocketServer and SimpleSSLSocketServer if remote socket-based log ingestion is not required, as the attack path is contingent on those components being reachable and receiving attacker-influenced serialized data. Restricting network access to the socket server port (default 4560/tcp) to trusted logging clients only further limits exposure, though the AV:L vector suggests the attacker must already have some local foothold. Given the low CVSS score and absence of practical RCE, this vulnerability does not warrant emergency patching outside of compliance-driven timelines.

Affected VersionsENISA

logback 0 ≤1.5.32

Affected Packages

maven ch.qos.logback:logback-core fix: 1.5.33
euvd logback no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

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

Technical ContextAI · show details

Logback is a widely deployed Java logging framework (successor to log4j 1.x) produced by QOS.CH. The affected component is logback-core, specifically its HardenedObjectInputStream class, which was introduced as a security hardening measure to restrict Java deserialization by blocking dangerous classes - a defense against the class of attacks popularized by Apache Commons Collections-style gadget chains. SimpleSocketServer and SimpleSSLSocketServer are logback's built-in remote logging receivers that accept serialized LoggingEvent objects over TCP sockets. The root cause is CWE-502 (Deserialization of Untrusted Data): despite HardenedObjectInputStream's blocklist, classes within java.lang and java.util are not explicitly prohibited, creating a partial bypass of the intended security boundary. The vulnerability does not constitute a full deserialization gadget chain exploit because the java.lang/java.util namespace lacks the utility classes (e.g., InvokerTransformer, ReflectionUtils) needed to achieve code execution under normal circumstances.

Know when the next one hits your stack

  • 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

Vendor (ncsc) PRIMARY 2.9 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/RE:L/U:Green

Primary rating from Vendor (ncsc) · only source for this CVE.

CVSS VectorVendor: ncsc

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

Lifecycle Timeline

1
CVSS changed
May 29, 2026 - 09:22 NVD
1.2 (LOW) 2.9 (LOW)

DescriptionCVE.org

Deserialization of untrusted data vulnerability in QOS.CH Sarl logback logback-core (HardenedObjectInputStream (logback-core) modules) allows Object Injection albeit heavily restricted.

More precisely, an attacker able to influence serialized data sent to SimpleSocketServer or SimpleSSLSocketServer can instantiate objects from classes in the java.lang and java.util packages that are not explicitly blocked.

Although deserialization is heavily restricted by HardenedObjectInputStream and no practical way to achieve remote code execution or significant privilege escalation has been identified, this issue constitutes a bypass of the intended security restrictions.

This issue affects logback: through 1.5.32 inclusive.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Data Quality
6 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 No
EPSS 0.1%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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