Menu

Star on GitHub · 3.2k

CVE-2026-31570

8.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: can: gw: fix OOB heap access in cgw_csum_crc8_rel() cgw_csum_crc8_rel() correctly computes bounds-safe indices via calc_idx():…

Published Apr 24, 2026CWE-125EPSS 0.41%

Overview

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

This vulnerability has a CVSS 3.1 base score of 8.8, 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:

can: gw: fix OOB heap access in cgw_csum_crc8_rel()

cgw_csum_crc8_rel() correctly computes bounds-safe indices via calc_idx():

int from = calc_idx(crc8->from_idx, cf->len);

int to = calc_idx(crc8->to_idx, cf->len);

int res = calc_idx(crc8->result_idx, cf->len);

if (from < 0 || to < 0 || res < 0)

return;

However, the loop and the result write then use the raw s8 fields directly

instead of the computed variables:

for (i = crc8->from_idx; ...) /* BUG: raw negative index */

cf->data[crc8->result_idx] = ...; /* BUG: raw negative index */

With from_idx = to_idx = result_idx = -64 on a 64-byte CAN FD frame,

calc_idx(-64, 64) = 0 so the guard passes, but the loop iterates with

i = -64, reading cf->data[-64], and the write goes to cf->data[-64].

This write might end up to 56 (7.0-rc) or 40 (<= 6.19) bytes before the

start of the canfd_frame on the heap.

The companion functi

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-31570?

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

How severe is CVE-2026-31570?

This vulnerability has a CVSS 3.1 base score of 8.8, 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-31570?

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-31570?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-31570 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