Critical Vulnerability in Linux Kernel: CVE-2025-40019 - ESSIV Decryption Check Bypass

linux Updated 26 Oct 2025

Summary

24/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2025-40019: In the Linux kernel, the following vulnerability has been resolved: crypto: essiv - Check ssize for decryption and in-place encryption Move the ssize check to the start in essiv_aead_crypt so that it's also checked for d... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used across various platforms, from servers to embedded systems. The kernel's security is paramount, as vulnerabilities can lead to unauthorized access or system instability. This specific vulnerability affects the ESSIV (Encrypted Salt-Sector Initialization Vector) functionality within the kernel's cryptographic module, which is crucial for secure data encryption and decryption.

Vulnerability Detail

CVE-2025-40019 is a vulnerability in the Linux kernel's ESSIV implementation that allows for a bypass of size checks during decryption and in-place encryption operations. This flaw could potentially lead to unauthorized data access or corruption, as the absence of proper size validation may allow attackers to manipulate encrypted data without detection. The vulnerability originates from an oversight in the implementation of the ESSIV algorithm, where the ssize check was not adequately enforced for all operations, particularly decryption.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the ESSIV functionality for encryption and decryption until the kernel is updated. This can be done by configuring applications to use alternative cryptographic methods that do not rely on ESSIV.

Conclusion

CVE-2025-40019 is a critical vulnerability in the Linux kernel that poses significant risks to data security. Users are strongly advised to update their systems to the latest patched version of the Linux kernel to mitigate these risks. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-40019 is a vulnerability in the Linux kernel that affects the ESSIV cryptographic implementation, allowing for potential bypass of security checks.

If exploited, this vulnerability could allow unauthorized access to encrypted data or lead to data corruption, compromising system integrity.

The vulnerability affects multiple versions of the Linux kernel across Debian distributions, including Debian 11, 12, 13, and 14.

You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By simply uploading your manifest file, such as package-lock.json, you can check for vulnerabilities without needing to install any software.

Yes, you can temporarily avoid using the ESSIV functionality for encryption and decryption until the kernel is updated.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback