{"api_version":"1","generated_at":"2026-07-23T04:31:58+00:00","cve":"CVE-2016-5431","urls":{"html":"https://cve.report/CVE-2016-5431","api":"https://cve.report/api/cve/CVE-2016-5431.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-5431","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-5431"},"summary":{"title":"CVE-2016-5431","description":"The PHP JOSE Library by Gree Inc. before version 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2019-08-07 15:15:00","updated_at":"2023-03-03 15:53:00"},"problem_types":["CWE-327"],"metrics":[],"references":[{"url":"https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b","name":"https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"explicit alg check & secure hash comparison · nov/jose-php@1cce55e · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-5431","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5431","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"5431","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php_jose_project","cpe5":"php_jose","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"5431","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php_jose_project","cpe5":"php_jose","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2016-5431","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"jose-php","version":{"version_data":[{"version_value":"fixed in 2.2.1"}]}}]}}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The PHP JOSE Library by Gree Inc. before version 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-327"}]}]},"references":{"reference_data":[{"name":"https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b","refsource":"CONFIRM","url":"https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b"}]}},"nvd":{"publishedDate":"2019-08-07 15:15:00","lastModifiedDate":"2023-03-03 15:53:00","problem_types":["CWE-327"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:php_jose_project:php_jose:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"5431","Ordinal":"91513","Title":"CVE-2016-5431","CVE":"CVE-2016-5431","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"5431","Ordinal":"1","NoteData":"The PHP JOSE Library by Gree Inc. before version 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"5431","Ordinal":"2","NoteData":"2019-08-07","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"5431","Ordinal":"3","NoteData":"2019-08-08","Type":"Other","Title":"Modified"}]}}}