CVEMETERBack to radar
OFFICIAL RECORD · Java packages

CVE-2016-2402

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:24:28.001ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T12:59:53.090ZFIRST EPSS
patchesverified2026-11-19T12:52:13.499ZOSV
affectedverified2026-11-19T12:54:48.156ZCVE Program
lifecycleverified2026-11-19T12:54:48.156ZCVE 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryMaven / packagecom.squareup.okhttp3:okhttpNot a distribution channel2.7.4Official record
ecosystem-boundaryMaven / packagecom.squareup.okhttp3:okhttpNot a distribution channel3.1.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history