{"id":"CVE-2026-28389","summary":"Possible NULL Dereference When Processing CMS KeyAgreeRecipientInfo","details":"Issue summary: During processing of a crafted CMS EnvelopedData message\nwith KeyAgreeRecipientInfo a NULL pointer dereference can happen.\n\nImpact summary: Applications that process attacker-controlled CMS data may\ncrash before authentication or cryptographic operations occur resulting in\nDenial of Service.\n\nWhen a CMS EnvelopedData message that uses KeyAgreeRecipientInfo is\nprocessed, the optional parameters field of KeyEncryptionAlgorithmIdentifier\nis examined without checking for its presence. This results in a NULL\npointer dereference if the field is missing.\n\nApplications and services that call CMS_decrypt() on untrusted input\n(e.g., S/MIME processing or CMS-based protocols) are vulnerable.\n\nThe FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this\nissue, as the affected code is outside the OpenSSL FIPS module boundary.","modified":"2026-07-27T09:24:10.619675Z","published":"2026-04-07T22:00:53.364Z","related":["CGA-vc7c-6mhm-829j","SUSE-SU-2026:1213-1","SUSE-SU-2026:1214-1","SUSE-SU-2026:1215-1","SUSE-SU-2026:1216-1","SUSE-SU-2026:1255-1","SUSE-SU-2026:1256-1","SUSE-SU-2026:1257-1","SUSE-SU-2026:1290-1","SUSE-SU-2026:1291-1","SUSE-SU-2026:1375-1","SUSE-SU-2026:1386-1","SUSE-SU-2026:1577-1","SUSE-SU-2026:21037-1","SUSE-SU-2026:21065-1","SUSE-SU-2026:21107-1","SUSE-SU-2026:21186-1","SUSE-SU-2026:2396-1","SUSE-SU-2026:2399-1","openSUSE-SU-2026:10533-1","openSUSE-SU-2026:20525-1"],"database_specific":{"cna_assigner":"openssl","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28389.json"},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28389.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28389"},{"type":"ADVISORY","url":"https://openssl-library.org/news/secadv/20260407.txt"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/16cea4188e0ea567deb4f93f85902247e67384f5"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/785cbf7ea3b5a6f5adf0c1ccb92b79d89c35c616"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/7b5274e812400cacb6f3be4c2df5340923fa807f"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/c6725634e089eb2b634b10ede33944be7248172a"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/f80f83bc5fd036bc47d773e8b15a001e2b4ce686"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"fixed":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"introduced":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"fixed":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"introduced":"89cd17a031e022211684eb7eb41190cf1910f9fa"},{"fixed":"5aada9c299a3b28fc82348f4e2b93805fa0a0e9c"},{"introduced":"4cb31128b5790819dfeea2739fbde265f71a10a2"},{"fixed":"204165c1550d3aa0f49395af654124cec2bbabf9"},{"introduced":"98acb6b02839c609ef5b837794e08d906d965335"},{"fixed":"03b8620d6e9b7b4d5701865edb6ad86101fe5517"},{"introduced":"636dfadc70ce26f2473870570bfd9ec352806b1d"},{"fixed":"286ddeaac037533bbdce65b3c689e3f7ffebf0f6"},{"introduced":"7b371d80d959ec9ab4139d09d78e83c090de9779"},{"fixed":"fe686e15d84334b284f883118ed92f64b409b3aa"},{"fixed":"16cea4188e0ea567deb4f93f85902247e67384f5"},{"fixed":"785cbf7ea3b5a6f5adf0c1ccb92b79d89c35c616"},{"fixed":"7b5274e812400cacb6f3be4c2df5340923fa807f"},{"fixed":"c6725634e089eb2b634b10ede33944be7248172a"},{"fixed":"f80f83bc5fd036bc47d773e8b15a001e2b4ce686"}],"database_specific":{"extracted_events":[{"introduced":"1.0.2"},{"fixed":"1.0.2zp"},{"introduced":"1.1.1"},{"fixed":"1.1.1zg"},{"introduced":"3.0.0"},{"fixed":"3.0.20"},{"introduced":"3.3.0"},{"fixed":"3.3.7"},{"introduced":"3.4.0"},{"fixed":"3.4.5"},{"introduced":"3.5.0"},{"fixed":"3.5.6"},{"introduced":"3.6.0"},{"fixed":"3.6.2"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"}}],"versions":["openssl-3.0.19","openssl-3.3.6","openssl-3.4.4","openssl-3.5.5","openssl-3.6.1","3.4-POST-CLANG-FORMAT-WEBKIT","3.0-POST-CLANG-FORMAT-WEBKIT","3.4-PRE-CLANG-FORMAT-WEBKIT","3.3-POST-CLANG-FORMAT-WEBKIT","3.5-POST-CLANG-FORMAT-WEBKIT","3.0-PRE-CLANG-FORMAT-WEBKIT","3.3-PRE-CLANG-FORMAT-WEBKIT","3.5-PRE-CLANG-FORMAT-WEBKIT","3.6-POST-CLANG-FORMAT-WEBKIT","3.6-PRE-CLANG-FORMAT-WEBKIT","openssl-3.6.0","openssl-3.0.18","openssl-3.3.5","openssl-3.4.3","openssl-3.5.4","openssl-3.5.3","openssl-3.5.2","openssl-3.0.17","openssl-3.3.4","openssl-3.4.2","openssl-3.5.1","openssl-3.5.0","openssl-3.0.16","openssl-3.3.3","openssl-3.4.1","openssl-3.4.0","openssl-3.0.15","openssl-3.3.2","openssl-3.0.14","openssl-3.3.1","openssl-3.3.0","openssl-3.0.13","openssl-3.0.12","openssl-3.0.11","openssl-3.0.10","openssl-3.0.9","openssl-3.0.8","openssl-3.0.7","openssl-3.0.6","openssl-3.0.5","openssl-3.0.4","openssl-3.0.3","openssl-3.0.2","openssl-3.0.1","openssl-3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28389.json","vanir_signatures_modified":"2026-07-27T09:24:10Z","vanir_signatures":[{"id":"CVE-2026-28389-08261dff","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/16cea4188e0ea567deb4f93f85902247e67384f5","target":{"file":"crypto/cms/cms_ec.c","function":"ecdh_cms_set_shared_info"},"deprecated":false,"digest":{"function_hash":"220212300272990662700643768678357463760","length":1363}},{"deprecated":false,"digest":{"line_hashes":["35040822673859645981477916107913023139","93565823115982767152496764659501767766","241756499995554558550602367300017643700","191338120555964314917981441313617292316","147857528157518671552020408598352417501","191712768671169977210748902842933264345","285821873076905783592971116327398757227","206703883280606155502738453870378980881","335217870970338360093905925963042168197","276006600787294503462210323054236244571","86260100061005767582631828819609971143","319381704718689333317669133590605303938","256282953336782932349783315299183728680","10137784562806207999599328005914036118","23908226079055335692986235745925339697"],"threshold":0.9},"id":"CVE-2026-28389-1b1ca4d9","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/785cbf7ea3b5a6f5adf0c1ccb92b79d89c35c616","target":{"file":"crypto/cms/cms_dh.c"}},{"target":{"file":"crypto/cms/cms_ec.c"},"deprecated":false,"digest":{"line_hashes":["339574314018800471946332591302274221091","324373727784504944843233301225824637211","241756499995554558550602367300017643700","12521850379814007373532789688046211438","117342360621347706033129047703801997159","185292036368172262462097254932521310241","94190543996604676849176713917615421954","106863008812326076345685972430007566832","282378567138276691786629430182438473941","255116467245818032153320742923067490257","36986505605978595967335407833084821547","149880329217016635387887804450489765326","89860272611462147307771061494521213681","10137784562806207999599328005914036118","23908226079055335692986235745925339697"],"threshold":0.9},"id":"CVE-2026-28389-326533ff","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7b5274e812400cacb6f3be4c2df5340923fa807f"},{"target":{"file":"crypto/cms/cms_ec.c","function":"ecdh_cms_set_shared_info"},"deprecated":false,"digest":{"function_hash":"220212300272990662700643768678357463760","length":1363},"id":"CVE-2026-28389-33cf90c9","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7b5274e812400cacb6f3be4c2df5340923fa807f"},{"digest":{"function_hash":"85580592443376971564746879996092594480","length":1634},"id":"CVE-2026-28389-4c6b9c04","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7b5274e812400cacb6f3be4c2df5340923fa807f","target":{"file":"crypto/cms/cms_dh.c","function":"dh_cms_set_shared_info"},"deprecated":false},{"id":"CVE-2026-28389-644f67bf","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/f80f83bc5fd036bc47d773e8b15a001e2b4ce686","target":{"file":"crypto/cms/cms_dh.c"},"deprecated":false,"digest":{"line_hashes":["158952456200596267618838350065954804513","93565823115982767152496764659501767766","241756499995554558550602367300017643700","191338120555964314917981441313617292316","147857528157518671552020408598352417501","191712768671169977210748902842933264345","285821873076905783592971116327398757227","206703883280606155502738453870378980881","335217870970338360093905925963042168197","276006600787294503462210323054236244571","86260100061005767582631828819609971143","319381704718689333317669133590605303938","256282953336782932349783315299183728680","10137784562806207999599328005914036118","23908226079055335692986235745925339697"],"threshold":0.9}},{"deprecated":false,"digest":{"line_hashes":["35040822673859645981477916107913023139","93565823115982767152496764659501767766","241756499995554558550602367300017643700","191338120555964314917981441313617292316","147857528157518671552020408598352417501","191712768671169977210748902842933264345","285821873076905783592971116327398757227","206703883280606155502738453870378980881","335217870970338360093905925963042168197","276006600787294503462210323054236244571","86260100061005767582631828819609971143","319381704718689333317669133590605303938","256282953336782932349783315299183728680","10137784562806207999599328005914036118","23908226079055335692986235745925339697"],"threshold":0.9},"id":"CVE-2026-28389-668111d0","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/c6725634e089eb2b634b10ede33944be7248172a","target":{"file":"crypto/cms/cms_dh.c"}},{"deprecated":false,"digest":{"function_hash":"85580592443376971564746879996092594480","length":1634},"id":"CVE-2026-28389-6770b983","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/c6725634e089eb2b634b10ede33944be7248172a","target":{"file":"crypto/cms/cms_dh.c","function":"dh_cms_set_shared_info"}},{"deprecated":false,"digest":{"function_hash":"220212300272990662700643768678357463760","length":1363},"id":"CVE-2026-28389-69d31ac9","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/c6725634e089eb2b634b10ede33944be7248172a","target":{"file":"crypto/cms/cms_ec.c","function":"ecdh_cms_set_shared_info"}},{"target":{"file":"crypto/cms/cms_dh.c","function":"dh_cms_set_shared_info"},"deprecated":false,"digest":{"function_hash":"85580592443376971564746879996092594480","length":1634},"id":"CVE-2026-28389-6f275edb","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/785cbf7ea3b5a6f5adf0c1ccb92b79d89c35c616"},{"id":"CVE-2026-28389-746edf00","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/c6725634e089eb2b634b10ede33944be7248172a","target":{"file":"crypto/cms/cms_ec.c"},"deprecated":false,"digest":{"line_hashes":["339574314018800471946332591302274221091","324373727784504944843233301225824637211","241756499995554558550602367300017643700","12521850379814007373532789688046211438","117342360621347706033129047703801997159","185292036368172262462097254932521310241","94190543996604676849176713917615421954","106863008812326076345685972430007566832","282378567138276691786629430182438473941","255116467245818032153320742923067490257","36986505605978595967335407833084821547","149880329217016635387887804450489765326","89860272611462147307771061494521213681","10137784562806207999599328005914036118","23908226079055335692986235745925339697"],"threshold":0.9}},{"deprecated":false,"digest":{"line_hashes":["339574314018800471946332591302274221091","324373727784504944843233301225824637211","241756499995554558550602367300017643700","12521850379814007373532789688046211438","117342360621347706033129047703801997159","185292036368172262462097254932521310241","94190543996604676849176713917615421954","106863008812326076345685972430007566832","282378567138276691786629430182438473941","255116467245818032153320742923067490257","36986505605978595967335407833084821547","149880329217016635387887804450489765326","89860272611462147307771061494521213681","10137784562806207999599328005914036118","23908226079055335692986235745925339697"],"threshold":0.9},"id":"CVE-2026-28389-7569978c","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/785cbf7ea3b5a6f5adf0c1ccb92b79d89c35c616","target":{"file":"crypto/cms/cms_ec.c"}},{"deprecated":false,"digest":{"function_hash":"220212300272990662700643768678357463760","length":1363},"id":"CVE-2026-28389-7b09eb19","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/f80f83bc5fd036bc47d773e8b15a001e2b4ce686","target":{"file":"crypto/cms/cms_ec.c","function":"ecdh_cms_set_shared_info"}},{"digest":{"threshold":0.9,"line_hashes":["339574314018800471946332591302274221091","324373727784504944843233301225824637211","241756499995554558550602367300017643700","12521850379814007373532789688046211438","117342360621347706033129047703801997159","185292036368172262462097254932521310241","94190543996604676849176713917615421954","106863008812326076345685972430007566832","282378567138276691786629430182438473941","255116467245818032153320742923067490257","36986505605978595967335407833084821547","149880329217016635387887804450489765326","89860272611462147307771061494521213681","10137784562806207999599328005914036118","23908226079055335692986235745925339697"]},"id":"CVE-2026-28389-9a894a5a","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/16cea4188e0ea567deb4f93f85902247e67384f5","target":{"file":"crypto/cms/cms_ec.c"},"deprecated":false},{"target":{"file":"crypto/cms/cms_dh.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["35040822673859645981477916107913023139","93565823115982767152496764659501767766","241756499995554558550602367300017643700","191338120555964314917981441313617292316","147857528157518671552020408598352417501","191712768671169977210748902842933264345","285821873076905783592971116327398757227","206703883280606155502738453870378980881","335217870970338360093905925963042168197","276006600787294503462210323054236244571","86260100061005767582631828819609971143","319381704718689333317669133590605303938","256282953336782932349783315299183728680","10137784562806207999599328005914036118","23908226079055335692986235745925339697"]},"id":"CVE-2026-28389-a2c81bc9","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/16cea4188e0ea567deb4f93f85902247e67384f5"},{"source":"https://github.com/openssl/openssl/commit/f80f83bc5fd036bc47d773e8b15a001e2b4ce686","target":{"file":"crypto/cms/cms_ec.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["339574314018800471946332591302274221091","324373727784504944843233301225824637211","241756499995554558550602367300017643700","12521850379814007373532789688046211438","117342360621347706033129047703801997159","185292036368172262462097254932521310241","94190543996604676849176713917615421954","106863008812326076345685972430007566832","282378567138276691786629430182438473941","255116467245818032153320742923067490257","36986505605978595967335407833084821547","149880329217016635387887804450489765326","89860272611462147307771061494521213681","10137784562806207999599328005914036118","23908226079055335692986235745925339697"]},"id":"CVE-2026-28389-a8c14aef","signature_type":"Line","signature_version":"v1"},{"digest":{"function_hash":"220212300272990662700643768678357463760","length":1363},"id":"CVE-2026-28389-b3d14555","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/785cbf7ea3b5a6f5adf0c1ccb92b79d89c35c616","target":{"file":"crypto/cms/cms_ec.c","function":"ecdh_cms_set_shared_info"},"deprecated":false},{"id":"CVE-2026-28389-c377fa22","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/e04bd3433fd84e1861bf258ea37928d9845e6a86","target":{"file":"include/openssl/opensslv.h"},"deprecated":false,"digest":{"line_hashes":["28170854778703993674264004058177114599","73132526844288570625317440636111911761","177405411499435185068645597737938634778","224809958623850711330610094965797758930","295554444428855106393106961197201359586"],"threshold":0.9}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/f80f83bc5fd036bc47d773e8b15a001e2b4ce686","target":{"function":"dh_cms_set_shared_info","file":"crypto/cms/cms_dh.c"},"deprecated":false,"digest":{"function_hash":"85580592443376971564746879996092594480","length":1634},"id":"CVE-2026-28389-c7d767cf"},{"target":{"file":"crypto/cms/cms_dh.c"},"deprecated":false,"digest":{"line_hashes":["35040822673859645981477916107913023139","93565823115982767152496764659501767766","241756499995554558550602367300017643700","191338120555964314917981441313617292316","147857528157518671552020408598352417501","191712768671169977210748902842933264345","285821873076905783592971116327398757227","206703883280606155502738453870378980881","335217870970338360093905925963042168197","276006600787294503462210323054236244571","86260100061005767582631828819609971143","319381704718689333317669133590605303938","256282953336782932349783315299183728680","10137784562806207999599328005914036118","23908226079055335692986235745925339697"],"threshold":0.9},"id":"CVE-2026-28389-dbb50246","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7b5274e812400cacb6f3be4c2df5340923fa807f"},{"deprecated":false,"digest":{"line_hashes":["251633914150035957322733061977107206211","338514574181828579838011565939158652696","76638288692106140328510055542557597351","142922657400765574308962710386922248045","71649992455794854055653842592139575350","65527166711110472566013424527579064967","253196866009476977787139000804413898733","172177136897997206866313011107384691461"],"threshold":0.9},"id":"CVE-2026-28389-e051451f","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/e818b74be2170fbe957a07b0da4401c2b694b3b8","target":{"file":"crypto/opensslv.h"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/16cea4188e0ea567deb4f93f85902247e67384f5","target":{"file":"crypto/cms/cms_dh.c","function":"dh_cms_set_shared_info"},"deprecated":false,"digest":{"function_hash":"85580592443376971564746879996092594480","length":1634},"id":"CVE-2026-28389-e38dd840"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}