{"id":"CVE-2026-35190","summary":"Out-of-Bounds Read in TLS 1.3 Key-Share Processing with Suite B Certificate Flag","details":"Issue summary: A server configured with the Suite B certificate flag through\nSSL_CTX_set_cert_flags() and with TLS 1.3 enabled may read past the end of a\nfixed group list when it processes a ClientHello whose supported_groups and\nkey_share contain no Suite B group.\n\nImpact summary: A remote client can send a ClientHello that makes the server\nread past the end of a static array. The values read are never returned to the\nclient, so no memory is disclosed; on builds with sanitizers or hardened\nallocators the read may crash the process, causing Denial of Service.\n\nCWE: CWE-125: Out-of-bounds Read\n\nDescription: When the Suite B certificate flag is set, OpenSSL restricts the\naccepted groups to P-256 and P-384 by substituting a fixed two-element list\nfor the configured group list. The tuple machinery used for key-share\nselection was not updated for this substitution: tls1_get_group_tuples() still\nreturns the configured tuples, which by default describe eight groups. The\nserver-side walk in tls_parse_ctos_key_share() then advances through the\ntwo-element list using those tuple counts without checking the cumulative\noffset against the number of groups present.\n\nOnly applications that call SSL_CTX_set_cert_flags() with\nSSL_CERT_FLAG_SUITEB_128_LOS and leave TLS 1.3 enabled are affected. The\nopenssl s_server -suiteB_128 option sets an X.509 verification parameter\ninstead, so the stock command line server is not vulnerable. Default\nconfigurations do not reach this code.\n\nA client that offers only groups outside the Suite B set, such as X25519,\nforces every tuple to be walked and the read to run past the array. The bytes\nread are compared against client group IDs and never sent back, so no memory\nis disclosed. On builds with address sanitizers or hardened allocators the\nread can abort the process; in ordinary release builds it reads a few bytes of\nadjacent constant data.\n\nFIPS impact: no\nThe affected code is outside the FIPS module boundary.","modified":"2026-11-17T19:16:00.961428981Z","published":"2026-11-17T08:15:01.294Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"4.1.0"},{"fixed":"4.1.1"},{"introduced":"4.0.0"},{"fixed":"4.0.4"},{"introduced":"3.5.0"},{"fixed":"3.5.10"}]}]}],"cna_assigner":"openssl","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35190.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35190.json"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/9491b0d9cc7950af1f3dc89499bd5433b9cd4f43"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/9a812981b927c5714b7c2e5d138618105cea2152"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/ade64619df04056b3e5fd1c1befe9425a7c80eb6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35190"},{"type":"ADVISORY","url":"https://openssl-library.org/news/secadv/20261117.txt"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"0"},{"fixed":"ade64619df04056b3e5fd1c1befe9425a7c80eb6"},{"fixed":"9a812981b927c5714b7c2e5d138618105cea2152"},{"fixed":"9491b0d9cc7950af1f3dc89499bd5433b9cd4f43"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"ade64619df04056b3e5fd1c1befe9425a7c80eb6"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"9a812981b927c5714b7c2e5d138618105cea2152"}]},{"range":[{"fixed":"9491b0d9cc7950af1f3dc89499bd5433b9cd4f43"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["openssl-4.1.0","openssl-4.1.0-beta2","openssl-3.5.9","openssl-4.0.3","openssl-4.1.0-beta1","openssl-4.1.0-alpha1","openssl-3.5.8","openssl-4.0.2","openssl-3.5.7","openssl-4.0.1","openssl-4.0.0","openssl-3.5.6","openssl-4.0.0-beta1","openssl-4.0.0-alpha1","openssl-3.5.5","3.5-POST-CLANG-FORMAT-WEBKIT","3.5-PRE-CLANG-FORMAT-WEBKIT","4.0-POST-CLANG-FORMAT-WEBKIT","4.0-PRE-CLANG-FORMAT-WEBKIT","openssl-3.5.4","openssl-3.5.3","openssl-3.5.2","openssl-3.5.1","openssl-3.5.0","openssl-3.5.0-beta1","openssl-3.5.0-alpha1","openssl-3.4.0-alpha1","openssl-3.2.0-alpha2","openssl-3.2.0-alpha1","openssl-3.0.0-beta2","openssl-3.0.0-beta1","openssl-3.0.0-alpha17","openssl-3.0.0-alpha16","openssl-3.0.0-alpha15","openssl-3.0.0-alpha14","openssl-3.0.0-alpha13","openssl-3.0.0-alpha12","openssl-3.0.0-alpha11","openssl-3.0.0-alpha10","openssl-3.0.0-alpha9","openssl-3.0.0-alpha8","openssl-3.0.0-alpha7","openssl-3.0.0-alpha6","openssl-3.0.0-alpha5","openssl-3.0.0-alpha4","openssl-3.0.0-alpha3","openssl-3.0.0-alpha2","openssl-3.0.0-alpha1","OpenSSL_1_1_1","OpenSSL_1_1_1-pre9","OpenSSL_1_1_1-pre8","OpenSSL_1_1_1-pre7","OpenSSL_1_1_1-pre6","OpenSSL_1_1_1-pre5","OpenSSL_1_1_1-pre4","OpenSSL_1_1_1-pre3","OpenSSL_1_1_1-pre2","OpenSSL_1_1_1-pre1","OpenSSL_1_1_0-pre6","OpenSSL_1_1_0-pre5","OpenSSL_1_1_0-pre4","OpenSSL_1_1_0-pre3","OpenSSL_1_1_0-pre2","OpenSSL_1_1_0-pre1","master-post-reformat","master-post-auto-reformat","master-pre-auto-reformat","master-pre-reformat","BEFORE_engine","OpenSSL_0_9_6-beta3","OpenSSL_0_9_5a","OpenSSL_0_9_5a-beta2","OpenSSL_0_9_5a-beta1","OpenSSL_0_9_5beta2","OpenSSL_0_9_5beta1","OpenSSL_0_9_4","OpenSSL_0_9_3a","OpenSSL_0_9_3","OpenSSL_0_9_3beta2","OpenSSL_0_9_2b","OpenSSL_0_9_1c"],"database_specific":{"vanir_signatures":[{"target":{"file":"ssl/t1_lib.c","function":"tls1_get_group_tuples"},"deprecated":false,"digest":{"function_hash":"167637218490219006387419103707120731210","length":310},"id":"CVE-2026-35190-07721601","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/ade64619df04056b3e5fd1c1befe9425a7c80eb6"},{"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/9a812981b927c5714b7c2e5d138618105cea2152","target":{"file":"ssl/t1_lib.c","function":"tls1_get_group_tuples"},"deprecated":false,"digest":{"length":310,"function_hash":"167637218490219006387419103707120731210"},"id":"CVE-2026-35190-2c296259","signature_type":"Function"},{"target":{"file":"ssl/statem/extensions_srvr.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["212031086567220438978777205506592673340","221290194963812519331734125558968527541","179208199163021904230589523639951540854","106185620776563068930309275094135694358","41320615066902755696347793543128956157","168451892529416421806614758972638608441","185809979334192394373857949516447800493","313950126366871194035387779605900774892","28620888986865251094714567472471211258","303713227410793908936276931454169036887","162440090396608520946473169177163812632"]},"id":"CVE-2026-35190-3116f022","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/9491b0d9cc7950af1f3dc89499bd5433b9cd4f43"},{"source":"https://github.com/openssl/openssl/commit/9a812981b927c5714b7c2e5d138618105cea2152","target":{"file":"ssl/statem/extensions_srvr.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["212031086567220438978777205506592673340","221290194963812519331734125558968527541","179208199163021904230589523639951540854","106185620776563068930309275094135694358","41320615066902755696347793543128956157","168451892529416421806614758972638608441","185809979334192394373857949516447800493","313950126366871194035387779605900774892","303589297246408059324678995500162000226","232368986078657672496914190699528645283","303795281031011590508160606473199317104"]},"id":"CVE-2026-35190-38fe8eec","signature_type":"Line","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/9491b0d9cc7950af1f3dc89499bd5433b9cd4f43","target":{"function":"tls_parse_ctos_key_share","file":"ssl/statem/extensions_srvr.c"},"deprecated":false,"digest":{"function_hash":"85000880761910848939128772916447979592","length":2257},"id":"CVE-2026-35190-3e88abbe"},{"deprecated":false,"digest":{"line_hashes":["270591248322828835175070829948798242374","311491314030898283707502634239882376748","128543148792862790243524399257815344523","35171386364716691766954336849743229538","100369515905541578813358081171519037497","300119007912177516575788471416316240301","267054997792365858653386627602414166258","82911647428470708532553248348150056243","179058062352664945713559746963947637806","13915825170305414789030845048131380915"],"threshold":0.9},"id":"CVE-2026-35190-42e9acb8","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/9a812981b927c5714b7c2e5d138618105cea2152","target":{"file":"ssl/t1_lib.c"}},{"source":"https://github.com/openssl/openssl/commit/ade64619df04056b3e5fd1c1befe9425a7c80eb6","target":{"file":"ssl/statem/extensions_srvr.c"},"deprecated":false,"digest":{"line_hashes":["212031086567220438978777205506592673340","221290194963812519331734125558968527541","179208199163021904230589523639951540854","106185620776563068930309275094135694358","41320615066902755696347793543128956157","168451892529416421806614758972638608441","185809979334192394373857949516447800493","313950126366871194035387779605900774892","303589297246408059324678995500162000226","232368986078657672496914190699528645283","303795281031011590508160606473199317104"],"threshold":0.9},"id":"CVE-2026-35190-4bd52b35","signature_type":"Line","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/9a812981b927c5714b7c2e5d138618105cea2152","target":{"file":"ssl/statem/extensions_srvr.c","function":"tls_parse_ctos_key_share"},"deprecated":false,"digest":{"function_hash":"153444288935129652732917084778494875947","length":2208},"id":"CVE-2026-35190-5b953e42"},{"deprecated":false,"digest":{"length":310,"function_hash":"167637218490219006387419103707120731210"},"id":"CVE-2026-35190-8f3b167d","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/9491b0d9cc7950af1f3dc89499bd5433b9cd4f43","target":{"file":"ssl/t1_lib.c","function":"tls1_get_group_tuples"}},{"digest":{"function_hash":"156861138721971070791544380055761036484","length":2267},"id":"CVE-2026-35190-ad27dab2","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/ade64619df04056b3e5fd1c1befe9425a7c80eb6","target":{"file":"ssl/statem/extensions_srvr.c","function":"tls_parse_ctos_key_share"},"deprecated":false},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/ade64619df04056b3e5fd1c1befe9425a7c80eb6","target":{"file":"ssl/t1_lib.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["270591248322828835175070829948798242374","311491314030898283707502634239882376748","128543148792862790243524399257815344523","35171386364716691766954336849743229538","100369515905541578813358081171519037497","300119007912177516575788471416316240301","267054997792365858653386627602414166258","82911647428470708532553248348150056243","179058062352664945713559746963947637806","13915825170305414789030845048131380915"]},"id":"CVE-2026-35190-d6ec5e1a"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/9491b0d9cc7950af1f3dc89499bd5433b9cd4f43","target":{"file":"ssl/t1_lib.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["270591248322828835175070829948798242374","311491314030898283707502634239882376748","128543148792862790243524399257815344523","35171386364716691766954336849743229538","100369515905541578813358081171519037497","300119007912177516575788471416316240301","267054997792365858653386627602414166258","82911647428470708532553248348150056243","179058062352664945713559746963947637806","13915825170305414789030845048131380915"]},"id":"CVE-2026-35190-f6a414ce"}],"vanir_signatures_modified":"2026-11-17T19:16:00Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35190.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}