{"id":"CVE-2025-69418","details":"Issue summary: When using the low-level OCB API directly with AES-NI or\u003cbr\u003eother hardware-accelerated code paths, inputs whose length is not a multiple\u003cbr\u003eof 16 bytes can leave the final partial block unencrypted and unauthenticated.\u003cbr\u003e\u003cbr\u003eImpact summary: The trailing 1-15 bytes of a message may be exposed in\u003cbr\u003ecleartext on encryption and are not covered by the authentication tag,\u003cbr\u003eallowing an attacker to read or tamper with those bytes without detection.\u003cbr\u003e\u003cbr\u003eThe low-level OCB encrypt and decrypt routines in the hardware-accelerated\u003cbr\u003estream path process full 16-byte blocks but do not advance the input/output\u003cbr\u003epointers. The subsequent tail-handling code then operates on the original\u003cbr\u003ebase pointers, effectively reprocessing the beginning of the buffer while\u003cbr\u003eleaving the actual trailing bytes unprocessed. The authentication checksum\u003cbr\u003ealso excludes the true tail bytes.\u003cbr\u003e\u003cbr\u003eHowever, typical OpenSSL consumers using EVP are not affected because the\u003cbr\u003ehigher-level EVP and provider OCB implementations split inputs so that full\u003cbr\u003eblocks and trailing partial blocks are processed in separate calls, avoiding\u003cbr\u003ethe problematic code path. Additionally, TLS does not use OCB ciphersuites.\u003cbr\u003eThe vulnerability only affects applications that call the low-level\u003cbr\u003eCRYPTO_ocb128_encrypt() or CRYPTO_ocb128_decrypt() functions directly with\u003cbr\u003enon-block-aligned lengths in a single call on hardware-accelerated builds.\u003cbr\u003eFor these reasons the issue was assessed as Low severity.\u003cbr\u003e\u003cbr\u003eThe FIPS modules in 3.6, 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected\u003cbr\u003eby this issue, as OCB mode is not a FIPS-approved algorithm.\u003cbr\u003e\u003cbr\u003eOpenSSL 3.6, 3.5, 3.4, 3.3, 3.0 and 1.1.1 are vulnerable to this issue.\u003cbr\u003e\u003cbr\u003eOpenSSL 1.0.2 is not affected by this issue.","modified":"2026-04-02T13:05:42.562613Z","published":"2026-01-27T16:16:33.253Z","related":["ALSA-2026:1472","ALSA-2026:1473","CGA-jw8r-q3r6-737x","MGASA-2026-0029","SUSE-SU-2026:0309-1","SUSE-SU-2026:0310-1","SUSE-SU-2026:0311-1","SUSE-SU-2026:0312-1","SUSE-SU-2026:0331-1","SUSE-SU-2026:0343-1","SUSE-SU-2026:0346-1","SUSE-SU-2026:0358-1","SUSE-SU-2026:0359-1","SUSE-SU-2026:0360-1","SUSE-SU-2026:20211-1","SUSE-SU-2026:20223-1","SUSE-SU-2026:20349-1","SUSE-SU-2026:20373-1","openSUSE-SU-2026:10237-1","openSUSE-SU-2026:20152-1"],"references":[{"type":"ADVISORY","url":"https://openssl-library.org/news/secadv/20260127.txt"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/372fc5c77529695b05b4f5b5187691a57ef5dffc"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/4016975d4469cd6b94927c607f7c511385f928d8"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/52d23c86a54adab5ee9f80e48b242b52c4cc2347"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/a7589230356d908c0eca4b969ec4f62106f4f5ae"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/ed40856d7d4ba6cb42779b6770666a65f19cb977"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"fixed":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"introduced":"89cd17a031e022211684eb7eb41190cf1910f9fa"},{"fixed":"a22063cd69a077cc68bb4c10e9f351f75899b194"},{"introduced":"4cb31128b5790819dfeea2739fbde265f71a10a2"},{"fixed":"4601ff25acd6c2fe58a8bfe241e6c470e27b8074"},{"introduced":"98acb6b02839c609ef5b837794e08d906d965335"},{"fixed":"565bdcc41bbf89fcbaf962636469332689f0c9fd"},{"introduced":"636dfadc70ce26f2473870570bfd9ec352806b1d"},{"fixed":"67b5686b4419b4cb8caa502711c41815f5279751"},{"introduced":"7b371d80d959ec9ab4139d09d78e83c090de9779"},{"fixed":"c9a9e5b10105ad850b6e4d1122c645c67767c341"},{"fixed":"372fc5c77529695b05b4f5b5187691a57ef5dffc"},{"fixed":"4016975d4469cd6b94927c607f7c511385f928d8"},{"fixed":"52d23c86a54adab5ee9f80e48b242b52c4cc2347"},{"fixed":"a7589230356d908c0eca4b969ec4f62106f4f5ae"},{"fixed":"ed40856d7d4ba6cb42779b6770666a65f19cb977"}],"database_specific":{"versions":[{"introduced":"1.1.1"},{"fixed":"1.1.1ze"},{"introduced":"3.0.0"},{"fixed":"3.0.19"},{"introduced":"3.3.0"},{"fixed":"3.3.6"},{"introduced":"3.4.0"},{"fixed":"3.4.4"},{"introduced":"3.5.0"},{"fixed":"3.5.5"},{"introduced":"3.6.0"},{"fixed":"3.6.1"}]}}],"versions":["3.0-POST-CLANG-FORMAT-WEBKIT","3.0-PRE-CLANG-FORMAT-WEBKIT","3.3-POST-CLANG-FORMAT-WEBKIT","3.3-PRE-CLANG-FORMAT-WEBKIT","3.4-POST-CLANG-FORMAT-WEBKIT","3.4-PRE-CLANG-FORMAT-WEBKIT","3.5-POST-CLANG-FORMAT-WEBKIT","3.5-PRE-CLANG-FORMAT-WEBKIT","3.6-POST-CLANG-FORMAT-WEBKIT","3.6-PRE-CLANG-FORMAT-WEBKIT","openssl-3.0.0","openssl-3.0.1","openssl-3.0.10","openssl-3.0.11","openssl-3.0.12","openssl-3.0.13","openssl-3.0.14","openssl-3.0.15","openssl-3.0.16","openssl-3.0.17","openssl-3.0.18","openssl-3.0.2","openssl-3.0.3","openssl-3.0.4","openssl-3.0.5","openssl-3.0.6","openssl-3.0.7","openssl-3.0.8","openssl-3.0.9","openssl-3.1.0","openssl-3.1.0-alpha1","openssl-3.1.0-beta1","openssl-3.1.1","openssl-3.1.2","openssl-3.1.3","openssl-3.1.4","openssl-3.1.5","openssl-3.1.6","openssl-3.1.7","openssl-3.1.8","openssl-3.3.0","openssl-3.3.1","openssl-3.3.2","openssl-3.3.3","openssl-3.3.4","openssl-3.3.5","openssl-3.4.0","openssl-3.4.1","openssl-3.4.2","openssl-3.4.3","openssl-3.5.0","openssl-3.5.1","openssl-3.5.2","openssl-3.5.3","openssl-3.5.4","openssl-3.6.0"],"database_specific":{"vanir_signatures":[{"signature_type":"Function","id":"CVE-2025-69418-08832902","digest":{"function_hash":"185445785273483749724984833071102767629","length":1702},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_decrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/4016975d4469cd6b94927c607f7c511385f928d8"},{"signature_type":"Function","id":"CVE-2025-69418-1bda333c","digest":{"function_hash":"185445785273483749724984833071102767629","length":1702},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_decrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/ed40856d7d4ba6cb42779b6770666a65f19cb977"},{"signature_type":"Function","id":"CVE-2025-69418-527f5c28","digest":{"function_hash":"67874926728490549484321146671346537109","length":1708},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_encrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/a7589230356d908c0eca4b969ec4f62106f4f5ae"},{"signature_type":"Function","id":"CVE-2025-69418-5c24e38a","digest":{"function_hash":"185445785273483749724984833071102767629","length":1702},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_decrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/372fc5c77529695b05b4f5b5187691a57ef5dffc"},{"signature_type":"Function","id":"CVE-2025-69418-5f855e82","digest":{"function_hash":"67874926728490549484321146671346537109","length":1708},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_encrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/ed40856d7d4ba6cb42779b6770666a65f19cb977"},{"signature_type":"Function","id":"CVE-2025-69418-7d9a390a","digest":{"function_hash":"185445785273483749724984833071102767629","length":1702},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_decrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/a7589230356d908c0eca4b969ec4f62106f4f5ae"},{"signature_type":"Function","id":"CVE-2025-69418-8228622a","digest":{"function_hash":"67874926728490549484321146671346537109","length":1708},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_encrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/372fc5c77529695b05b4f5b5187691a57ef5dffc"},{"signature_type":"Line","id":"CVE-2025-69418-89e7734a","digest":{"line_hashes":["219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","209781887423790042939763076475837683439","292894951856751270551239781398053681932","329823596363538096967543096246007581368","214407332637080168111808823571239657618","219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","59921997238140753290980657393750528770","135778423311849627130467981960244066007","49532393773878600690299702915211731069","316169392909083908323761348185442938826"],"threshold":0.9},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/ed40856d7d4ba6cb42779b6770666a65f19cb977"},{"signature_type":"Line","id":"CVE-2025-69418-a4b396e5","digest":{"line_hashes":["219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","209781887423790042939763076475837683439","292894951856751270551239781398053681932","329823596363538096967543096246007581368","214407332637080168111808823571239657618","219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","59921997238140753290980657393750528770","135778423311849627130467981960244066007","49532393773878600690299702915211731069","316169392909083908323761348185442938826"],"threshold":0.9},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/52d23c86a54adab5ee9f80e48b242b52c4cc2347"},{"signature_type":"Line","id":"CVE-2025-69418-b8067e20","digest":{"line_hashes":["219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","209781887423790042939763076475837683439","292894951856751270551239781398053681932","329823596363538096967543096246007581368","214407332637080168111808823571239657618","219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","59921997238140753290980657393750528770","135778423311849627130467981960244066007","49532393773878600690299702915211731069","316169392909083908323761348185442938826"],"threshold":0.9},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/a7589230356d908c0eca4b969ec4f62106f4f5ae"},{"signature_type":"Line","id":"CVE-2025-69418-c377fa22","digest":{"line_hashes":["28170854778703993674264004058177114599","73132526844288570625317440636111911761","177405411499435185068645597737938634778","224809958623850711330610094965797758930","295554444428855106393106961197201359586"],"threshold":0.9},"deprecated":false,"target":{"file":"include/openssl/opensslv.h"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"signature_type":"Function","id":"CVE-2025-69418-cb957352","digest":{"function_hash":"67874926728490549484321146671346537109","length":1708},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_encrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/4016975d4469cd6b94927c607f7c511385f928d8"},{"signature_type":"Line","id":"CVE-2025-69418-d0e93e49","digest":{"line_hashes":["219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","209781887423790042939763076475837683439","292894951856751270551239781398053681932","329823596363538096967543096246007581368","214407332637080168111808823571239657618","219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","59921997238140753290980657393750528770","135778423311849627130467981960244066007","49532393773878600690299702915211731069","316169392909083908323761348185442938826"],"threshold":0.9},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/4016975d4469cd6b94927c607f7c511385f928d8"},{"signature_type":"Line","id":"CVE-2025-69418-e518bb26","digest":{"line_hashes":["219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","209781887423790042939763076475837683439","292894951856751270551239781398053681932","329823596363538096967543096246007581368","214407332637080168111808823571239657618","219312396776272628301550969147505933452","36863883106600888632231627357013139699","311903940445207926165782571512644788270","321969164060885062804476022880404654026","59921997238140753290980657393750528770","135778423311849627130467981960244066007","49532393773878600690299702915211731069","316169392909083908323761348185442938826"],"threshold":0.9},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/372fc5c77529695b05b4f5b5187691a57ef5dffc"},{"signature_type":"Function","id":"CVE-2025-69418-e53d9018","digest":{"function_hash":"185445785273483749724984833071102767629","length":1702},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_decrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/52d23c86a54adab5ee9f80e48b242b52c4cc2347"},{"signature_type":"Function","id":"CVE-2025-69418-f2f2cfec","digest":{"function_hash":"67874926728490549484321146671346537109","length":1708},"deprecated":false,"target":{"file":"crypto/modes/ocb128.c","function":"CRYPTO_ocb128_encrypt"},"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/52d23c86a54adab5ee9f80e48b242b52c4cc2347"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-69418.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}