CVE-2016-2402
OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.
Does this matter?
Lower severity and a low EPSS score (1.94%). Track it; it rarely justifies an emergency change on its own.
Description
OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.
- CVSS 3.1
- 5.9 MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 1.94% probability · 80th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-295
- Affected
- squareup/okhttp · squareup/okhttp3
- Source
- cve@mitre.org
EPSS 1.9% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://www.openwall.com/lists/oss-security/2016/02/10/8Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/02/18/7Mailing List, Third Party Advisory
- https://koz.io/pinning-cve-2016-2402/Technical Description, Third Party Advisory
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/Vendor Advisory
- http://www.openwall.com/lists/oss-security/2016/02/10/8Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/02/18/7Mailing List, Third Party Advisory
- https://koz.io/pinning-cve-2016-2402/Technical Description, Third Party Advisory
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.