{"id":"CVE-2025-40019","aliases":["CVE-2025-40019"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: essiv - Check ssize for decryption and in-place encryption","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: essiv - Comprobar ssize para el descifrado y el cifrado in situ\n\nMover la comprobación de ssize al inicio en essiv_aead_crypt para que también se compruebe para el descifrado y el cifrado in situ.","source":"nvd"}],"published":"2025-10-24T11:44:29.864Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"29294dd6f1e7acf527255fb136ffde6602c3a129","status":"affected"},{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"71f03f8f72d9c70ffba76980e78b38c180e61589","status":"affected"},{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"df58651968f82344a0ed2afdafd20ecfc55ff548","status":"affected"},{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"248ff2797ff52a8cbf86507f9583437443bf7685","status":"affected"},{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"f37e7860dc5e94c70b4a3e38a5809181310ea9ac","status":"affected"},{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"dc4c854a5e7453c465fa73b153eba4ef2a240abe","status":"affected"},{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"da7afb01ba05577ba3629f7f4824205550644986","status":"affected"},{"type":"git","introduced":"be1eb7f78aa8fbe34779c56c266ccd0364604e71","fixed":"6bb73db6948c2de23e407fe1b7ef94bf02b7529f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.4.301","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.195","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.157","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.113","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.54","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.4","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/29294dd6f1e7acf527255fb136ffde6602c3a129","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71f03f8f72d9c70ffba76980e78b38c180e61589","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df58651968f82344a0ed2afdafd20ecfc55ff548","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/248ff2797ff52a8cbf86507f9583437443bf7685","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f37e7860dc5e94c70b4a3e38a5809181310ea9ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc4c854a5e7453c465fa73b153eba4ef2a240abe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da7afb01ba05577ba3629f7f4824205550644986","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bb73db6948c2de23e407fe1b7ef94bf02b7529f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40019","url":"https://www.cve.org/CVERecord?id=CVE-2025-40019","licence":"CVE Terms of Use","modified":"2026-05-11T21:40:54.499Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40019","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40019","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.779Z","epss":{"score":0.0029,"percentile":0.2315,"date":"2026-12-01T12:00:22.000Z"}}