{"api_version":"1","generated_at":"2026-04-22T23:09:29+00:00","cve":"CVE-2023-28081","urls":{"html":"https://cve.report/CVE-2023-28081","api":"https://cve.report/api/cve/CVE-2023-28081.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-28081","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-28081"},"summary":{"title":"CVE-2023-28081","description":"A bytecode optimization bug in Hermes prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could be used to cause an use-after-free and obtain arbitrary code execution via a carefully crafted payload. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.","state":"PUBLIC","assigner":"cve-assign@fb.com","published_at":"2023-05-18 22:15:00","updated_at":"2023-11-07 04:10:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81","name":"https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81","refsource":"MISC","tags":[],"title":"Re-sync with internal repository (#960) · facebook/hermes@e6ed9c1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.facebook.com/security/advisories/cve-2023-28081","name":"https://www.facebook.com/security/advisories/cve-2023-28081","refsource":"MISC","tags":[],"title":"CVE-2023-28081","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28081","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28081","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"28081","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"facebook","cpe5":"hermes","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-28081","ASSIGNER":"cve-assign@fb.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"A bytecode optimization bug in Hermes prior to commit e6ed9c1a4b02dc219de1648f44cd808a56171b81 could be used to cause an use-after-free and obtain arbitrary code execution via a carefully crafted payload. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416: Use After Free"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Facebook","product":{"product_data":[{"product_name":"Hermes","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"e6ed9c1a4b02dc219de1648f44cd808a56171b81"}]}}]}}]}},"references":{"reference_data":[{"url":"https://www.facebook.com/security/advisories/cve-2023-28081","refsource":"MISC","name":"https://www.facebook.com/security/advisories/cve-2023-28081"},{"url":"https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81","refsource":"MISC","name":"https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81"}]}},"nvd":{"publishedDate":"2023-05-18 22:15:00","lastModifiedDate":"2023-11-07 04:10:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:facebook:hermes:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}