Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Validate CHAP_R length before base64 decode… (CVE-2026-63886)

0
High
Published: 07/19/2026 (07/19/2026, 18:31:44 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's iSCSI target implementation was resolved involving improper validation of the CHAP_R length before base64 decoding. The chap_server_compute_hash() function allocated a buffer based on the expected digest size but did not verify that the base64-decoded input would fit, leading to a potential buffer overflow. The issue was fixed by adding a length check that strips trailing base64 padding and rejects inputs that would decode to more bytes than the allocated buffer can hold.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/19/2026, 20:11:45 UTC

Technical Analysis

The Linux kernel's iSCSI target CHAP authentication code had a flaw where the length of the base64-encoded CHAP_R response was not validated before decoding. This allowed the base64 decoder to write beyond the allocated buffer size (client_digest), causing a buffer overflow. The vulnerability arises because the allocated buffer size is based on the digest size (e.g., 32 bytes for SHA-256), but up to 95 bytes could be decoded from the input, overflowing the buffer by up to 63 bytes. The fix applies a length check before decoding by stripping trailing '=' padding characters and rejecting inputs whose decoded length would exceed the buffer size. The HEX encoding branch already had this validation. The mutual CHAP path was not vulnerable due to stricter input length limits.

Potential Impact

This vulnerability could lead to a buffer overflow in the Linux kernel's iSCSI target CHAP authentication code. Buffer overflows in kernel code can potentially be exploited to cause denial of service or escalate privileges. However, no known exploits in the wild have been reported. The impact depends on the ability of an attacker to supply crafted CHAP_R responses to the vulnerable kernel component.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is applied, avoid exposing the vulnerable iSCSI target service to untrusted networks or inputs. Monitor vendor channels for updates and apply patches once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-f9cg-2c9v-xhmh
Osv Schema Version
1.4.0
Aliases
["CVE-2026-63886"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a5d27ab2a4a8d598912fc8f

Added to database: 07/19/2026, 19:38:19 UTC

Last enriched: 07/19/2026, 20:11:45 UTC

Last updated: 07/20/2026, 07:19:40 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses