CVE-2025-37857 scsi: st: Fix array overflow in st_setup()

Medium 5.5 Published Updated

An integer overflow in the Linux kernel SCSI tape driver allows attackers to trigger an array overflow, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37857?

CVE-2025-37857 is a medium-severity vulnerability in Debian Debian Linux, published on 9 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

scsi: st: Fix array overflow in st_setup()

Change the array size to follow parms size instead of a fixed value.

Weakness: CWE-190

Which versions are affected by CVE-2025-37857?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-37857?

Apply the vendor's patch.

Is CVE-2025-37857 being exploited?

There is no known exploitation of CVE-2025-37857 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-37857, DEBIAN-CVE-2025-37857, GHSA-7g2m-f3gp-r995, ROOT-OS-DEBIAN-12-CVE-2025-37857, ROOT-OS-UBUNTU-2204-CVE-2025-37857, ROOT-OS-UBUNTU-2404-CVE-2025-37857 and 1 more.

Is CVE-2025-37857 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free