{"id":"CVE-2017-3737","published":"2017-12-07T16:00:00Z","modified":"2024-09-17T03:53:31Z","title":"OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an \"error state\" mechanism","vendor":"OpenSSL Software Foundation","product":"OpenSSL","tier":"core","eol":null,"affectedVersions":[{"vendor":"OpenSSL Software Foundation","product":"OpenSSL","versions":["1.0.2b-1.0.2m"]}],"description":{"text":"OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an \"error state\" mechanism. The intent was that if a fatal error occurred during a handshake then OpenSSL would move into the error state and would immediately fail if you attempted to continue the handshake. This works as designed for the explicit handshake functions (SSL_do_handshake(), SSL_accept() and SSL_connect()), however due to a bug it does not work correctly if SSL_read() or SSL_write() is called directly. In that scenario, if the handshake fails then a fatal error will be returned in the initial function call. If SSL_read()/SSL_write() is subsequently called by the application for the same SSL object then it will succeed and the data is passed without being decrypted/encrypted directly from the SSL/TLS record layer. In order to exploit this issue an application bug would have to be present that resulted in a call to SSL_read()/SSL_write() being issued after having already received a fatal error. OpenSSL version 1.0.2b-1.0.2m are affected. Fixed in OpenSSL 1.0.2n. OpenSSL 1.1.0 is not affected.","provenance":"source","from":"CVE.org"},"summary":{"text":"OpenSSL 1.0.2 (from 1.0.2b onward) has a bug in its error-state handling, where a handshake failure does not block subsequent SSL_read() or SSL_write() calls made directly on the same SSL object. An attacker can exploit this only where the application itself calls SSL_read() or SSL_write() after receiving a fatal handshake error, so the application code must contain that flaw for the issue to be reachable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:22:51Z"},"cvss":null,"epss":{"score":0.78675,"percentile":0.99592,"date":"2026-11-10","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"SMS Phisphing Campaign","url":"https://otx.alienvault.com/pulse/62826e6e99e1c6ccf06b100e","created":"2022-05-16"},{"name":"Internal CVE Research","url":"https://otx.alienvault.com/pulse/6228b4f0b2d5ade72cc7a0ea","created":"2022-03-09"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:2185","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2186","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/openssl/openssl/commit/898fb884b706aaeb283de4812340bb0bde8476dc","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20180419-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-17:12.openssl.asc","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"https://security.gentoo.org/glsa/201712-03","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securitytracker.com/id/1039978","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.openssl.org/news/secadv/20171207.txt","tags":["x_refsource_CONFIRM"]},{"url":"https://www.digitalmunition.me/2017/12/cve-2017-3737-openssl-security-bypass-vulnerability/","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0998","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2017/dsa-4065","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-179516.pdf","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/102103","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.tenable.com/security/tns-2017-16","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2187","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.netapp.com/advisory/ntap-20180117-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20171208-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-12854","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-12854","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2017-12-07","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2017-3737","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":21.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9959"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-openssl-cve-2014-3572","parents":[{"from":"CVE-2015-0204","to":"CVE-2017-3737","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ssl/ssl.h"],"commits":["https://github.com/openssl/openssl/commit/ce325c60c74b0fa784f5872404b722e120e5cab0","https://github.com/openssl/openssl/commit/898fb884b706aaeb283de4812340bb0bde8476dc"],"basis":"rarely changed file"}]}]}}