CVE-2025-40019
crypto: essiv - Check ssize for decryption and in-place encryption
Reported by linux · Published October 24, 2025
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.
EPSS 0.29% · 21.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 1:6.1.158-178.288.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| Linux | Linux | f37e7860dc5e94c70b4a3e38a5809181310ea9ac, df58651968f82344a0ed2afdafd20ecfc55ff548, dc4c854a5e7453c465fa73b153eba4ef2a240abe, da7afb01ba05577ba3629f7f4824205550644986, 6bb73db6948c2de23e407fe1b7ef94bf02b7529f, 29294dd6f1e7acf527255fb136ffde6602c3a129, 248ff2797ff52a8cbf86507f9583437443bf7685 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | be1eb7f78aa8fbe34779c56c266ccd0364604e71, be1eb7f78aa8fbe34779c56c266ccd0364604e71, be1eb7f78aa8fbe34779c56c266ccd0364604e71 |
| Linux | Linux | 5.4, 0, 5.4.301 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| Linux | Linux | 5.4.301, 0, 5.4 |
| amazon:2023 | kernel-livepatch-6.12.55-74.119 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | perf6.12 | 0 |
…and 12 more
Timeline
- Oct 12, 2025 PoC Published (5 in total, the first dated here)
- Oct 24, 2025 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 Coalition ESS Score (7 in total, the first dated here)
- Oct 24, 2025 CVE Published
- Dec 15, 2025 Security Advisory (162 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (108 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40019
vulnetix vdb fixes CVE-2025-40019
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40019/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart