{"id":"CVE-2025-40019","summary":"crypto: essiv - Check ssize for decryption and in-place encryption","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: essiv - Check ssize for decryption and in-place encryption\n\nMove the ssize check to the start in essiv_aead_crypt so that\nit's also checked for decryption and in-place encryption.","modified":"2026-04-16T04:34:37.065948689Z","published":"2025-10-24T11:44:29.864Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:21080-1","SUSE-SU-2025:21147-1","SUSE-SU-2025:21180-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4301-1","SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0350-1","SUSE-SU-2026:0369-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1","openSUSE-SU-2025:15702-1","openSUSE-SU-2025:20091-1","openSUSE-SU-2026:10301-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40019.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/248ff2797ff52a8cbf86507f9583437443bf7685"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29294dd6f1e7acf527255fb136ffde6602c3a129"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bb73db6948c2de23e407fe1b7ef94bf02b7529f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71f03f8f72d9c70ffba76980e78b38c180e61589"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da7afb01ba05577ba3629f7f4824205550644986"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc4c854a5e7453c465fa73b153eba4ef2a240abe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df58651968f82344a0ed2afdafd20ecfc55ff548"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f37e7860dc5e94c70b4a3e38a5809181310ea9ac"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40019.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40019"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71"},{"fixed":"29294dd6f1e7acf527255fb136ffde6602c3a129"},{"fixed":"71f03f8f72d9c70ffba76980e78b38c180e61589"},{"fixed":"df58651968f82344a0ed2afdafd20ecfc55ff548"},{"fixed":"248ff2797ff52a8cbf86507f9583437443bf7685"},{"fixed":"f37e7860dc5e94c70b4a3e38a5809181310ea9ac"},{"fixed":"dc4c854a5e7453c465fa73b153eba4ef2a240abe"},{"fixed":"da7afb01ba05577ba3629f7f4824205550644986"},{"fixed":"6bb73db6948c2de23e407fe1b7ef94bf02b7529f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40019.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.301"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.246"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40019.json"}}],"schema_version":"1.7.5"}