Vulnerability · Published Oct 24, 2025 · Assigned by Linux
CVE-2025-40019crypto: essiv - Check ssize for decryption and in-place encryption
Unrated
In plain English
A security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS )–Not rated
Exploit odds (30 days)0.3%top 78.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
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 decryption and in-place encryption.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.158-1 | DEBIAN-CVE-2025-40019 |
| Debian:12 | linux | 6.1.158-1 | DSA-6053-1 |
| Debian:13 | linux | 6.12.57-1 | DEBIAN-CVE-2025-40019 |
| Debian:14 | linux | 6.17.6-1 | DEBIAN-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux | 5.15.0-168.178 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-168.178 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux | 6.8.0-94.96 | USN-8015-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-94.96 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux | 6.17.0-12.12 | USN-8014-1 |
| Ubuntu:25.10 | linux | 6.17.0-12.12 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1099.106 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1099.106 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1045.47 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1045.47 | USN-8015-4 |
| Ubuntu:25.10 | linux-aws | 6.17.0-1006.6 | USN-8014-1 |
| Ubuntu:25.10 | linux-aws | 6.17.0-1006.6 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-aws-6.17 | 6.17.0-1007.7~24.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1045.47~22.04.1 | USN-8015-4 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1045.47~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1103.112 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1103.112 | USN-8013-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1046.52 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-azure | 6.17.0-1007.7 | USN-8014-1 |
| Ubuntu:25.10 | linux-azure | 6.17.0-1007.7 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1109.118.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1046.53 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1099.108 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1099.108 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1046.49 | USN-8015-4 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1046.49 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-gcp | 6.17.0-1006.6 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-gcp | 6.17.0-1006.6 | USN-8014-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-gcp-6.17 | 6.17.0-1008.8~24.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1046.49~22.04.1 | USN-8015-4 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1095.101 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1095.101 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1042.47 | USN-8015-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1042.47 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1082.90 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1082.90 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1029.32 | USN-8015-1 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1029.32 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-hwe-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-94.96~22.04.1 | USN-8015-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-94.96~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1093.96 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1093.96 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1043.43 | USN-8015-4 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1043.43 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1043.43~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1043.43~22.04.1 | USN-8015-4 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1094.100 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1094.100 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1091.96 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1091.96 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-168.178 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-168.178 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-94.96.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-94.96.1 | USN-8015-5 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-94.96.1~22.04.1 | USN-8015-4 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-94.96.1~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1094.95 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1094.95 | USN-8013-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1045.48 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1045.48 | USN-8016-1 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-nvidia-6.17 | 6.17.0-1008.8 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1045.48~22.04.1 | USN-8016-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1045.48~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1045.48.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1045.48.1 | USN-8016-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1051.51 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1051.51 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1020.20 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1040.40 | USN-8013-4 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1040.40 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-oem-6.17 | 6.17.0-1010.10 | USN-8014-1 |
| Ubuntu:24.04:LTS | linux-oem-6.17 | 6.17.0-1010.10 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1096.102 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1096.102 | USN-8013-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1042.43 | USN-8015-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1042.43 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-oracle | 6.17.0-1006.6 | USN-8014-1 |
| Ubuntu:25.10 | linux-oracle | 6.17.0-1006.6 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-oracle-6.17 | 6.17.0-1007.7~24.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1042.43~22.04.1 | USN-8015-1 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1042.43~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1093.96 | USN-8013-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1093.96 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1045.49 | USN-8015-1 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1045.49 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-raspi | 6.17.0-1007.7 | USN-8014-1 |
| Ubuntu:25.10 | linux-raspi | 6.17.0-1007.7 | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-realtime | 6.17.0-1005.6 | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-realtime | 6.17.0-1005.6 | USN-8014-1 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:25.10 | linux-riscv | 6.17.0-12.12.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-94.96~22.04.1 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-40019 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1022.23 | USN-8015-5 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1022.23 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1063.67 | UBUNTU-CVE-2025-40019 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1063.67 | USN-8013-4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | be1eb7f78aa8fbe34779c56c266ccd0364604e71 – before 29294dd6f1e7acf527255fb136ffde6602c3a129be1eb7f78aa8fbe34779c56c266ccd0364604e71 – before 71f03f8f72d9c70ffba76980e78b38c180e61589be1eb7f78aa8fbe34779c56c266ccd0364604e71 – before df58651968f82344a0ed2afdafd20ecfc55ff548be1eb7f78aa8fbe34779c56c266ccd0364604e71 – before 248ff2797ff52a8cbf86507f9583437443bf7685be1eb7f78aa8fbe34779c56c266ccd0364604e71 – before f37e7860dc5e94c70b4a3e38a5809181310ea9acbe1eb7f78aa8fbe34779c56c266ccd0364604e71 – before dc4c854a5e7453c465fa73b153eba4ef2a240abebe1eb7f78aa8fbe34779c56c266ccd0364604e71 – before da7afb01ba05577ba3629f7f4824205550644986be1eb7f78aa8fbe34779c56c266ccd0364604e71 – before 6bb73db6948c2de23e407fe1b7ef94bf02b7529f |
| Linux | Linux | 5.4 |
References
- https://git.kernel.org/stable/c/29294dd6f1e7acf527255fb136ffde6602c3a129
- https://git.kernel.org/stable/c/71f03f8f72d9c70ffba76980e78b38c180e61589
- https://git.kernel.org/stable/c/df58651968f82344a0ed2afdafd20ecfc55ff548
- https://git.kernel.org/stable/c/248ff2797ff52a8cbf86507f9583437443bf7685
- https://git.kernel.org/stable/c/f37e7860dc5e94c70b4a3e38a5809181310ea9ac
- https://git.kernel.org/stable/c/dc4c854a5e7453c465fa73b153eba4ef2a240abe
- https://git.kernel.org/stable/c/da7afb01ba05577ba3629f7f4824205550644986
- https://git.kernel.org/stable/c/6bb73db6948c2de23e407fe1b7ef94bf02b7529f