Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-63886

published critical CVSS 3.1 · 9.8

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

Published
19 Jul 2026, 14:54:59 UTC
Updated
19 Oct 2026, 20:17:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1e5733883421495908f3b90d9d807663038b4136 to < 82454e6f21e56ea9a0a9de7d0ff7e1dfb83e34d6 · 1e5733883421495908f3b90d9d807663038b4136 to < edd06675a02376ea8347dba7c29ad982ba5b36ee · 1e5733883421495908f3b90d9d807663038b4136 to < bf154c657828ed05399bca5d98cf1611bb048b12 · 1e5733883421495908f3b90d9d807663038b4136 to < 4a3a19c98a8207ad08bec554703d90f2c34a8cc6 · 1e5733883421495908f3b90d9d807663038b4136 to < c04e85799356120209b351a148ac2db888d5ffd9 · 1e5733883421495908f3b90d9d807663038b4136 to < 85db7391310b1304d2dc8ae3b0b12105a9567147 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.176 through 6.1.* (unaffected · semver) · 6.6.143 through 6.6.* (unaffected · semver) · 6.12.93 through 6.12.* (unaffected · semver) · 6.18.35 through 6.18.* (unaffected · semver) · 7.0.12 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1881 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1924 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1968 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.49.1.el10_2 ALSA-2026:57251
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.49.1.el10_2 ALSA-2026:57251
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 bpftool Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 perf Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 9 kernel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

50

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The bug is triggered by a remote iSCSI initiator sending crafted CHAP login PDUs over TCP to the in-kernel LIO iSCSI target during the network login/authentication handshake. AC:L - Once an iSCSI target with CHAP is reachable, an attacker can reliably trigger the overflow by sending CHAP_R with a 0b-prefixed base64 string up to 127 characters; no race or special memory layout is required. PR:N - The heap overflow occurs during the CHAP authentication handshake before the password hash comparison succeeds, so exploitation is reachable by an unauthenticated remote network attacker who knows a configured CHAP username. UI:N - Exploitation requires only the attacker initiating an iSCSI login connection and sending malicious CHAP PDUs; no action from a victim user is needed. S:U - Successful exploitation corrupts kernel heap memory within the same kernel security boundary, enabling denial of service or kernel privilege escalation, not a cross-boundary escape such as VM guest-to-host. C:H - The out-of-bounds heap write corrupts adjacent kmalloc objects and can be leveraged for arbitrary kernel memory disclosure through heap grooming, consistent with heap overflow impact guidance. I:H - A controlled kernel heap out-of-bounds write of up to 79 bytes past a digest-sized buffer can corrupt adjacent structures and be developed into arbitrary code execution or kernel privilege escalation. A:H - The overflow causes slab-out-of-bounds writes confirmed by KASAN and can crash or destabilize the kernel during login processing, constituting high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1e5733883421495908f3b90d9d807663038b4136 to < 82454e6f21e56ea9a0a9de7d0ff7e1dfb83e34d6 (affected · git)1e5733883421495908f3b90d9d807663038b4136 to < edd06675a02376ea8347dba7c29ad982ba5b36ee (affected · git)1e5733883421495908f3b90d9d807663038b4136 to < bf154c657828ed05399bca5d98cf1611bb048b12 (affected · git)1e5733883421495908f3b90d9d807663038b4136 to < 4a3a19c98a8207ad08bec554703d90f2c34a8cc6 (affected · git)1e5733883421495908f3b90d9d807663038b4136 to < c04e85799356120209b351a148ac2db888d5ffd9 (affected · git)1e5733883421495908f3b90d9d807663038b4136 to < 85db7391310b1304d2dc8ae3b0b12105a9567147 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.176 through 6.1.* (unaffected · semver)6.6.143 through 6.6.* (unaffected · semver)6.12.93 through 6.12.* (unaffected · semver)6.18.35 through 6.18.* (unaffected · semver)7.0.12 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-122 CWE-122 Heap-based Buffer Overflow (CISA-ADP · adp)

References

6

Provider assertions

2

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
c9ca18ed553210f000801c3163215fe62301898e191fc1b8d4fbd06d407ff1fb
Ingested
19 Oct 2026, 20:33:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected