The following was reported by OpenSSL upstream: If PSK identity hints are received by a multi-threaded client then the values are wrongly updated in the parent SSL_CTX structure. This can result in a race condition potentially leading to a double free of the identify hint data. This issue was fixed in OpenSSL 1.0.2d and 1.0.1p but has not been previously listed in an OpenSSL security advisory. This issue also affects OpenSSL 1.0.0 and has not been previously fixed in an OpenSSL 1.0.0 release. OpenSSL 1.0.2 users should upgrade to 1.0.2d OpenSSL 1.0.1 users should upgrade to 1.0.1p OpenSSL 1.0.0 users should upgrade to 1.0.0t The fix for this issue can be identified in the OpenSSL git repository by commit ids 3c66a669dfc7 (1.0.2), d6be3124f228 (1.0.1) and 1392c238657e (1.0.0). The fix was developed by Dr. Stephen Henson of the OpenSSL development team.
External References: https://openssl.org/news/secadv/20151203.txt
Upstream commits: OpenSSL 1.0.2: https://git.openssl.org/?p=openssl.git;a=commit;h=3c66a669dfc7 OpenSSL 1.0.1: https://git.openssl.org/?p=openssl.git;a=commit;h=d6be3124f228 OpenSSL 1.0.0: https://git.openssl.org/?p=openssl.git;a=commit;h=1392c238657e
Created mingw-openssl tracking bugs for this issue: Affects: fedora-all [bug 1290334]
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 6 Via RHSA-2015:2617 https://rhn.redhat.com/errata/RHSA-2015-2617.html
openssl-1.0.1k-13.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
openssl101e-1.0.1e-5.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in the following products: Via RHSA-2016:2957 https://rhn.redhat.com/errata/RHSA-2016-2957.html