Skip to main content

Linux Kernel EUVDEUVD-2026-45771

| CVE-2026-63886 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-07-19 Linux GHSA-f9cg-2c9v-xhmh
9.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Reach iSCSI target on TCP/3260
  2. Delivery
    Begin iSCSI login, select CHAP
  3. Exploit
    Send overlong '0b' base64 CHAP_R
  4. Execution
    Decoder writes 95 bytes into digest buffer
  5. Persist
    Overflow corrupts adjacent kernel heap
  6. Impact
    Kernel panic or code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

The target host must be running the Linux LIO iSCSI target subsystem AND have CHAP authentication configured on a target portal, and must be network-reachable on the iSCSI port (typically TCP/3260); the attacker must supply a BASE64-encoded CHAP_R response (the '0b'-prefixed form) rather than HEX, because only the BASE64 branch lacked the length check. No valid credentials are needed since the overflow occurs while parsing the CHAP response that is itself the authentication step (CVSS PR:N). Limiting factors: this is not exploitable against a default Linux install - it requires the specialized iSCSI-target-with-CHAP configuration; supplying HEX-encoded responses does not trigger it; and achieving anything beyond a kernel crash requires reliable kernel heap layout control.

Impact

The signals conflict and warrant nuance. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) treats this as trivial unauthenticated network RCE, but that overstates practical risk: the vulnerable code path is only reachable on a host explicitly configured as an iSCSI target with CHAP authentication enabled - a non-default, specialized server role - and turning a bounded heap overflow of attacker-controlled bytes into reliable kernel code execution requires heap grooming, so the most dependable outcome is a kernel panic (DoS). EPSS (0.21%, 11th percentile) and the absence of KEV listing and public PoC support treating this as lower urgency than the 9.8 implies. No SSVC decision data was provided. Net: a genuine kernel memory-corruption bug that should be patched promptly on any iSCSI target, but it is not a mass-exploitation 'patch-tonight' emergency for the general Linux fleet, most of which does not run the LIO target with CHAP.

Exploit ScenarioDerived

An attacker with network reachability to an iSCSI target that has CHAP enabled initiates an iSCSI login and, during the CHAP exchange, sends a CHAP_R parameter prefixed with '0b' containing ~127 base64 characters. The decoder writes 95 bytes into the digest-sized heap allocation, overflowing it by 63-79 bytes and corrupting adjacent kernel heap objects - most reliably crashing the kernel, with potential for privilege escalation given sufficient heap control. No public exploit code was identified at time of analysis; per the CVSS vector the login exchange requires no valid credentials.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 20, 2026

Heap out-of-bounds write in the Linux kernel iSCSI target (LIO) driver lets a remote attacker overflow the heap-allocated client_digest buffer by supplying an over-length BASE64-encoded CHAP_R response during login. chap_server_compute_hash() decodes up to 127 base64 characters (95 bytes) into a buffer sized to the digest (32 bytes for SHA-256, 16 for MD5), overflowing it by 63-79 bytes before the too-late length check at line 344. The input assigns CVSS 9.8; however EPSS is low (0.21%, 11th percentile), it is not in CISA KEV, and no public exploit was identified - indicating a serious memory-corruption bug that is not yet being exploited.

RemediationAI

Apply the vendor-released patch by upgrading to a fixed kernel for your branch - 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, or 7.1 (or later) - via your distribution's updates; the fix commits are published at git.kernel.org (e.g. https://git.kernel.org/stable/c/82454e6f21e56ea9a0a9de7d0ff7e1dfb83e34d6). Where immediate patching is not possible, reduce exposure with specific compensating controls: disable CHAP authentication on the LIO target if another auth or network-isolation model is acceptable (trade-off: removes CHAP's protection, so pair with strict network ACLs); restrict TCP/3260 (iSCSI) to trusted initiator IPs via firewall so untrusted hosts cannot reach the login handshake (trade-off: breaks connectivity for un-allowlisted initiators); or place the storage network on an isolated VLAN/management segment. If the host does not need to serve iSCSI targets, ensure the target/iscsi LIO modules are not loaded. See https://nvd.nist.gov/vuln/detail/CVE-2026-63886 for reference.

Affected VersionsENISA

Linux 1e5733883421495908f3b90d9d807663038b4136 <c04e85799356120209b351a148ac2db888d5ffd9
Linux patch: 6.6.143
Linux 1e5733883421495908f3b90d9d807663038b4136 <edd06675a02376ea8347dba7c29ad982ba5b36ee
Linux 1e5733883421495908f3b90d9d807663038b4136 <4a3a19c98a8207ad08bec554703d90f2c34a8cc6
Linux patch: 0
Linux 1e5733883421495908f3b90d9d807663038b4136 <85db7391310b1304d2dc8ae3b0b12105a9567147
Linux patch: 7.1
Linux patch: 6.12.93
Linux 1e5733883421495908f3b90d9d807663038b4136 <82454e6f21e56ea9a0a9de7d0ff7e1dfb83e34d6
Linux patch: 6.18.35
Linux 6.0
Linux patch: 7.0.12
Linux patch: 6.1.176
Linux 1e5733883421495908f3b90d9d807663038b4136 <bf154c657828ed05399bca5d98cf1611bb048b12

Affected Packages

euvd linux 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

The flaw lives in drivers/target/iscsi (the LIO SCSI target subsystem) in chap_server_compute_hash(), which processes the iSCSI CHAP authentication exchange (RFC 1994 / RFC 7143). The server allocates client_digest with kzalloc(chap->digest_size) and, for BASE64-encoded CHAP_R responses, calls chap_base64_decode() directly. Unlike the sibling HEX branch, the BASE64 branch performed no up-front length validation, so chap_base64_decode() writes decoded bytes unconditionally: with MAX_RESPONSE_LENGTH=128 and the '0b' prefix stripped by extract_param(), 127 base64 chars decode to 95 bytes, overflowing the 32-byte (SHA-256) or 16-byte (MD5) allocation. This is a classic out-of-bounds heap write (CWE-787, matching the 'Buffer Overflow' tag; the feed lists CWE as N/A). The fix strips trailing '=' padding and rejects input whose data length exceeds DIV_ROUND_UP(digest_size*4, 3) before decoding, mirroring the HEX branch; the mutual-CHAP CHAP_C path into initiatorchg_binhex was confirmed safe because extract_param() caps it below CHAP_CHALLENGE_STR_LEN. CPE data identifies the affected product generically as cpe:2.3:a:linux:linux.

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 (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Unauthenticated network reachable via the CHAP login step (PR:N), but requires a non-default iSCSI-target-with-CHAP config plus kernel heap control to weaponize, hence AC:H; kernel OOB write justifies High C/I/A.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL
Red Hat 7.0 HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:54 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 14:54 cve.org
CRITICAL 9.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

scsi: target: iscsi: Validate CHAP_R length before base64 decode

chap_server_compute_hash() allocates client_digest as kzalloc(chap->digest_size) and then, for BASE64-encoded responses, passes chap_r directly to chap_base64_decode() without checking whether the input length could produce more than digest_size bytes of output.

chap_base64_decode() writes to the destination unconditionally as long as there is input to consume. With MAX_RESPONSE_LENGTH set to 128 and the "0b" prefix stripped by extract_param(), up to 127 base64 characters can reach the decoder. 127 characters decode to 95 bytes. For SHA-256 (digest_size=32) this overflows client_digest by 63 bytes; for MD5 (digest_size=16) the overflow is 79 bytes.

The length check at line 344 fires after the write has already happened.

The HEX branch in the same switch statement already validates the length up front. Apply the same approach to the BASE64 branch: strip trailing base64 padding characters, then reject any input whose data length exceeds DIV_ROUND_UP(digest_size * 4, 3) before calling the decoder.

Stripping trailing '=' before the comparison handles both padded and unpadded encodings. chap_base64_decode() already returns early on '=', so the full original string is still passed to the decoder unchanged.

The mutual CHAP path decodes CHAP_C into initiatorchg_binhex, which is kzalloc(CHAP_CHALLENGE_STR_LEN). extract_param() caps initiatorchg at CHAP_CHALLENGE_STR_LEN characters, so at most CHAP_CHALLENGE_STR_LEN-1 base64 characters reach the decoder. The maximum decoded size, DIV_ROUND_UP((CHAP_CHALLENGE_STR_LEN-1) * 3, 4), is less than CHAP_CHALLENGE_STR_LEN, so no overflow is possible there. A comment is added at the call site to document this.

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability in Linux iSCSI storage systems (LIO driver) allows unauthenticated network attackers to compromise affected infrastructure. With no public exploit identified at time of analysis, organizations operating iSCSI-based storage should prioritize immediate patching to prevent potential data theft, system compromise, and operational disruption.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Interim mitigations: restrict iSCSI initiator access to known trusted network ranges, disable iSCSI target services on non-critical systems pending patch deployment, and implement network-level access controls to limit exposure from untrusted networks.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
Linux is ubiquitous, but iSCSI LIO target with CHAP is a niche server role
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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