cve.bz

CVE-2026-63887 linux linux kernel: Classic Buffer Overflow

9.8 criticalEPSS 0.8%Fix available

Critical (9.8) in linux linux kernel. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Bound iscsi_encode_text_output() appends to rsp_buf iscsi_encode_text_output() concatenates "key=value\0" records into login->rsp_buf, an 8192-byte kzalloc(MAX_KEY_VALUE_PAIRS) buffer allocated in iscsit_alloc_login_setup_buffer(). The three sprintf() call sites in this function (lines 1398, 1411, 1424 in v7.1-rc2) never check the remaining buffer capacity: *length += sprintf(output_buf, "%s=%s", er->key, er->value); *length += 1; output_buf = textbuf + *length; The 8192-byte ceiling at iscsi_target_check_login_request() bounds the *input* Login PDU payload, but a single PDU can carry up to 2048 minimal four-byte "a=b\0" pairs, each unknown key expanding to a 16-byte "a=NotUnderstood\0" output record via iscsi_add_notunderstood_response(). 2048 * 16 = 32 KiB of output into an 8 KiB buffer, producing a ~24 KiB heap overrun in the kmalloc-8k slab. The fix introduces a static iscsi_encode_text_record() helper that uses snprintf() with a per-call bounds check against the remaining buffer, and threads a u32 textbuf_size parameter through iscsi_encode_text_output(). Both call sites in iscsi_target_handle_csg_zero() (PHASE_SECURITY) and iscsi_target_handle_csg_one() (PHASE_OPERATIONAL) pass MAX_KEY_VALUE_PAIRS. On overflow the encoder logs the condition, calls iscsi_release_extra_responses() to drop queued records, and returns -1; both caller sites now emit ISCSI_STATUS_CLS_INITIATOR_ERR / ISCSI_LOGIN_STATUS_INIT_ERR via iscsit_tx_login_rsp() before returning, so the initiator sees an explicit failed-login response rather than a silent connection drop. (Prior to this patch only the PHASE_OPERATIONAL caller did that; the PHASE_SECURITY caller is converted to the same shape.)

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-63887 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-63887?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-63887?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-63887 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux3.1 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.259
Linux5.155.15.210
Linux6.16.1.176
Linux6.66.6.143
Linux6.126.12.93
Linux6.186.18.35
Linux7.07.0.12
Linuxlater releases7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.176-1DEBIAN-CVE-2026-63887
Debian13linux6.12.94-1DEBIAN-CVE-2026-63887
Debian14linux7.0.12-1DEBIAN-CVE-2026-63887
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2026-63887
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2026-63887
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2026-63887
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-194.204UBUNTU-CVE-2026-63887 USN-8818-1 USN-8818-4
Ubuntu22.04:LTSlinux-aws5.15.0-1116.123UBUNTU-CVE-2026-63887 USN-8818-1
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1065.68~22.04.1UBUNTU-CVE-2026-63887 USN-8817-3
Ubuntu22.04:LTSlinux-azure5.15.0-1122.131UBUNTU-CVE-2026-63887 USN-8818-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1068.76~22.04.1UBUNTU-CVE-2026-63887 USN-8817-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1121.130UBUNTU-CVE-2026-63887 USN-8818-1
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1066.73~22.04.1UBUNTU-CVE-2026-63887 USN-8817-1
Ubuntu22.04:LTSlinux-gcp5.15.0-1117.127UBUNTU-CVE-2026-63887 USN-8818-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1069.77~22.04.1UBUNTU-CVE-2026-63887 USN-8817-1
79 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.157.1.el8_10RHSA-2026:57253
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.157.1.el8_10RHSA-2026:57253
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.157.1.rt7.498.el8_10RHSA-2026:57254
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.157.1.rt7.498.el8_10RHSA-2026:57254
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-687.44.1.el9_8RHSA-2026:63129
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-687.44.1.el9_8RHSA-2026:63129
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-687.44.1.el9_8RHSA-2026:63129
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-687.44.1.el9_8RHSA-2026:63129
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-687.44.1.el9_8RHSA-2026:63129
Red Hatenterprise_linux:10.2rv, perf, rtla and 87 more0:6.12.0-211.47.1.el10_2RHSA-2026:54343
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.105.1.el10_0RHSA-2026:69089
Red Hatrhel_aus:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.208.1.el8_4RHSA-2026:69874
20 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 2 morekernel-default5.14.21-150400.24.240.2SUSE-SU-2026:4284-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6kernel-default6.4.0-150600.23.135.1SUSE-SU-2026:4369-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.81.1SUSE-SU-2026:4254-1
SUSELinux Enterprise High Availability Extension 16.0kernel-default6.12.0-160000.38.1SUSE-SU-2026:23897-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-default5.14.21-150400.24.240.2SUSE-SU-2026:4284-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morekernel-default-base5.14.21-150400.24.240.2.150400.24.120.2SUSE-SU-2026:4284-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 1 more5.14.21-150400.24.240.1SUSE-SU-2026:4284-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.189.1SUSE-SU-2026:4595-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.189.1.150500.6.87.4SUSE-SU-2026:4595-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.328.1SUSE-SU-2026:4282-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_7317-2.1SUSE-SU-2026:4749-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_7415-2.1SUSE-SU-2026:4793-1
162 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-211.47.1.el10_2Fixed 2026-08-12RHSA-2026:54343
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.105.1.el10_0Fixed 2026-09-21RHSA-2026:69089
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.157.1.rt7.498.el8_10Fixed 2026-08-20RHSA-2026:57254
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.157.1.el8_10Fixed 2026-08-20RHSA-2026:57253
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.208.1.el8_4Fixed 2026-09-22RHSA-2026:69874
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.208.1.el8_4Fixed 2026-09-22RHSA-2026:69874
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.168.1.el8_8Fixed 2026-09-22RHSA-2026:69837
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.168.1.el8_8Fixed 2026-09-22RHSA-2026:69837
Red Hat Enterprise Linux 9kernel-0:5.14.0-687.44.1.el9_8Fixed 2026-09-04RHSA-2026:63129
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.193.1.el9_2Fixed 2026-09-23RHSA-2026:70482
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.193.1.rt14.478.el9_2Fixed 2026-09-23RHSA-2026:70483
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionskernel-0:5.14.0-427.150.1.el9_4Fixed 2026-09-16RHSA-2026:68100
Red Hat Enterprise Linux 9.6 Extended Update Supportkernel-0:5.14.0-570.141.1.el9_6Fixed 2026-09-16RHSA-2026:67720
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelAffected
Red Hat Enterprise Linux 7kernel-rtAffected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-63887.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON