Menu

Star on GitHub · 3.2k

CVE-2026-31513

8.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix stack-out-of-bounds read in l2cap_ecred_conn_req Syzbot reported a KASAN stack-out-of-bounds read in l2ca…

Published Apr 22, 2026CWE-125EPSS 0.39%

Overview

CVE-2026-31513 is a high-severity vulnerability. It was published on April 22, 2026 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

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

Bluetooth: L2CAP: Fix stack-out-of-bounds read in l2cap_ecred_conn_req

Syzbot reported a KASAN stack-out-of-bounds read in l2cap_build_cmd()

that is triggered by a malformed Enhanced Credit Based Connection Request.

The vulnerability stems from l2cap_ecred_conn_req(). The function allocates

a local stack buffer (`pdu`) designed to hold a maximum of 5 Source Channel

IDs (SCIDs), totaling 18 bytes. When an attacker sends a request with more

than 5 SCIDs, the function calculates `rsp_len` based on this unvalidated

`cmd_len` before checking if the number of SCIDs exceeds

L2CAP_ECRED_MAX_CID.

If the SCID count is too high, the function correctly jumps to the

`response` label to reject the packet, but `rsp_len` retains the

attacker's oversized value. Consequently, l2cap_send_cmd() is instructed

to read past the end of the 18-byte `pdu` buffer, triggering a

KASAN panic.

Fix this by moving the assignment of `rsp_len` to a

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-31513?

CVE-2026-31513 is a high-severity vulnerability. It was published on April 22, 2026 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2026-31513?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-31513?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31513?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-31513 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all