CVE-2016-2402
Java packages · 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.940% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:24:28.001Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:24:28.001Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T12:59:53.090Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:13.499Z | OSV |
| affected | verified | 2026-11-19T12:54:48.156Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:48.156Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://koz.io/pinning-cve-2016-2402/",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2016/02/10/8",
"name": "[oss-security] 20160210 CVE request - OkHttp Certificate Pining Bypass",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2016/02/18/7",
"name": "[oss-security] 20160217 Re: CVE request - OkHttp Certificate Pining Bypass",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E",
"name": "[pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T23:24:49.347Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-4hc2-jh7r-wrc3",
"aliases": [
"CVE-2016-2402"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.4"
}
]
}
],
"package": {
"name": "com.squareup.okhttp3:okhttp",
"purl": "pkg:maven/com.squareup.okhttp3/okhttp",
"ecosystem": "Maven"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4hc2-jh7r-wrc3/GHSA-4hc2-jh7r-wrc3.json",
"last_known_affected_version_range": "<= 2.7.3"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.2"
}
]
}
],
"package": {
"name": "com.squareup.okhttp3:okhttp",
"purl": "pkg:maven/com.squareup.okhttp3/okhttp",
"ecosystem": "Maven"
},
"versions": [
"3.0.0",
"3.0.1",
"3.1.0",
"3.1.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4hc2-jh7r-wrc3/GHSA-4hc2-jh7r-wrc3.json",
"last_known_affected_version_range": "<= 3.1.1"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2402",
"type": "ADVISORY"
},
{
"url": "https://github.com/square/okhttp",
"type": "PACKAGE"
},
{
"url": "https://koz.io/pinning-cve-2016-2402",
"type": "WEB"
},
{
"url": "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E",
"type": "WEB"
},
{
"url": "https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2016/02/10/8",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2016/02/18/7",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-295"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2017-01-30T22:59:00Z",
"github_reviewed_at": "2022-07-06T19:58:11Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | com.squareup.okhttp3:okhttp | Not a distribution channel | 2.7.4 | Official record |
| ecosystem-boundary | Maven / package | com.squareup.okhttp3:okhttp | Not a distribution channel | 3.1.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:54:48.156ZArchived source JSON
Source publication: 2017-01-30T22:00:00.000Z
Source modification: 2024-08-05T23:24:49.347ZDocument fingerprint
3e215a04351f22dd15fd4754314aa0fc103da9aac54a521011dbb7ce375b9c53 - OSVConsulted: 2026-11-19T12:52:13.499ZArchived source JSON
Source publication: 2022-05-13T01:11:51.000Z
Source modification: 2024-02-20T05:22:26.866ZDocument fingerprint
08759e993b96e29fa070546546a8f0782f8b8e52ae73d78d7486add3a0a8d386 - FIRST EPSSConsulted: 2026-11-19T12:59:53.090ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ff8c08941963b7818d915b025ce610a3366c6e70c5d064a6f252be6844b89cd7 - CISA KEVConsulted: 2026-11-19T15:24:28.001ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence