CVE-2025-40019

crypto: essiv - Check ssize for decryption and in-place encryption

No CVSS score yet EPSS 0.29%

Published 24 Oct 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-40019

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40019 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.1% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before 29294dd6f1e7acf527255fb136ffde6602c3a129
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before 71f03f8f72d9c70ffba76980e78b38c180e61589
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before df58651968f82344a0ed2afdafd20ecfc55ff548
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before 248ff2797ff52a8cbf86507f9583437443bf7685
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before f37e7860dc5e94c70b4a3e38a5809181310ea9ac
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before dc4c854a5e7453c465fa73b153eba4ef2a240abe
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before da7afb01ba05577ba3629f7f4824205550644986
affected from be1eb7f78aa8fbe34779c56c266ccd0364604e71, before 6bb73db6948c2de23e407fe1b7ef94bf02b7529f
Other versions: unaffected
Linux
affected 5.4
unaffected before 5.4
unaffected from 5.4.301 up to and including 5.4.*
unaffected from 5.10.246 up to and including 5.10.*
unaffected from 5.15.195 up to and including 5.15.*
unaffected from 6.1.157 up to and including 6.1.*
unaffected from 6.6.113 up to and including 6.6.*
unaffected from 6.12.54 up to and including 6.12.*
unaffected from 6.17.4 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40019 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40019

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40019
trivy image --scanners vuln IMAGE | grep CVE-2025-40019

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40019 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.