CVE-2026-63886Disclosure(linux / linux_kernel)

LOWCVSS 9.8 · CRITICAL

Signal is active with 2 mentions in latest observed window

Immediate actions

  • Patch linux linux_kernel systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

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.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-787CWE-122

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • linux_kernel

Threat summary

  • Patch or workaround signal is available
  • 3 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 2 signals
  • Technical details provided in 3 signals
  • Disclosure: 2 classified signals
  • Peaked at 2 mentions on most recent observed day (2026-09-10)
  • 3 total mentions across 2 days

Affected systems

Vendors
Products
linux_kernel

1 version affected across 1 product

Deep dive

Activity timeline3 mentions / 2d
01122Mentions · 2026-07-24: 1Mentions · 2026-09-10: 2Patch / Workaround · 2026-07-24: 1Patch / Workaround · 2026-09-10: 1Technical Details · 2026-07-24: 1Technical Details · 2026-09-10: 207-2409-10
Signal classification2 categories
Disclosure
266.7%
Patch
133.3%
Referenced assets2 URLs
Classification over time
DateTotalLabels
2026-07-241
Patch1
2026-09-102
Disclosure2
Full discourse3 posts
  • Alexandru Hossu@alex_hossu
    Disclosure

    CVE-2026-63886 | CVSS 9.8 Critical Pre-auth heap buffer overflow in the Linux kernel iSCSI target — any attacker on the network can corrupt kernel memory before authentication starts, using only a crafted CHAP username. Root cause: chap_server_compute_hash() in iscsi_target_auth.c passes attacker-controlled input directly to chap_base64_decode() with no length check. The destination buffer is allocated with kzalloc(digest_size) — 16 bytes for MD5, 32 bytes for SHA-256. A 127-char username decodes to 95 bytes. Overflow: 79 bytes past end of allocation in kmalloc-16. No active iSCSI session required. The CHAP username is sent during the login phase, before any credential validation. Any host with network access to the iSCSI port can trigger the overflow. Confirmed with KASAN on linux-next. Vulnerable code introduced in 2022 (commit 1e5733883421), present in all kernels 5.19–7.0. Fix: commit 85db7391310b — bounds check before decode, backported to 6.1, 6.6, 6.12 stable. Full write-up (root cause, KASAN trace, patch): http://ahossu.github.io/blog/iscsi-chap-base64-overflow #Linux #kernel #CVE #infosec

    Post summary

    The post discloses a critical pre‑authentication heap buffer overflow in Linux iSCSI targets, detailing the technical root cause, affected versions, and a patch commit.

    000114401
    29 followersView on X
  • Upwind Security MDR@UpwindMDR
    Disclosure

    🚨Critical - Linux Kernel iSCSI Target CHAP_R Heap Buffer Overflow (CVE-2026-63886) Linux kernel iSCSI target CHAP auth decodes CHAP_R base64 without validating decoded length vs the allocated digest buffer. A remote unauthenticated iSCSI initiator can send a crafted CHAP login PDU with oversized CHAP_R to trigger heap OOB writes, leading to kernel crash or potential privilege escalation. HEX CHAP_R path already validates length. 👉Affected: Linux kernel iSCSI target (LIO) with CHAP enabled

    Post summary

    Text describes a critical heap buffer overflow in the Linux kernel iSCSI target's CHAP authentication, enabling a remote unauthenticated attacker to trigger a kernel crash or privilege escalation, with no mention of exploitation or remediation.

    0000062
    303 followersView on X
  • SecAlerts@SecAlertsCo
    Patch

    🔐 Linux Kernel iSCSI CHAP_R flaw: missing length validation before base64 decode allows unauthenticated RCE. CVE-2026-63886 scores CVSS 9.8. Patch your iSCSI targets now. #cybersecurity #ciso #linux #vulnerabilities https://secalerts.co/vulnerability/CVE-2026-63886?utm_campaign=x https://t.co/OapwVl88js

    Post summary

    The post highlights the high‑severity CVE-2026-63886 affecting Linux kernel iSCSI CHAP_R, warns of an unauthenticated RCE due to missing length validation, and urgently urges users to apply available patches.

    0000092
    870 followersView on X
CPE platform detail6 entries

6 of 6 entries

PartVendorProductVersionTarget SWTarget HW
OSlinuxlinux_kernel---
OSlinuxlinux_kernel7.1--
OSlinuxlinux_kernel7.1--
OSlinuxlinux_kernel7.1--
OSlinuxlinux_kernel7.1--
OSlinuxlinux_kernel7.1--

Explore more