{"id":"CVE-2023-28081","state":"PUBLISHED","title":"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 ca","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.","publishedAt":"2023-05-18T21:26:49.822Z","updatedAt":"2025-01-21T20:16:02.965Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"facebook","products":["Facebook Hermes"],"affected":[{"vendor":"Facebook","product":"Hermes","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"e6ed9c1a4b02dc219de1648f44cd808a56171b81","versionType":"git"}]}],"references":["https://www.facebook.com/security/advisories/cve-2023-28081","https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/28xxx/CVE-2023-28081.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-28081","state":"PUBLISHED","datePublished":"2023-05-18T21:26:49.822Z","dateUpdated":"2025-01-21T20:16:02.965Z","assignerShortName":"facebook","assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateReserved":"2023-03-10T14:38:22.869Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"Facebook","product":"Hermes","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"e6ed9c1a4b02dc219de1648f44cd808a56171b81","versionType":"git"}]}],"references":[{"url":"https://www.facebook.com/security/advisories/cve-2023-28081","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"CWE-416: Use After Free","lang":"en"}]}],"providerMetadata":{"shortName":"facebook","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateUpdated":"2023-05-18T21:26:49.822Z"},"dateAssigned":"2023-03-10T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.facebook.com/security/advisories/cve-2023-28081","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/facebook/hermes/commit/e6ed9c1a4b02dc219de1648f44cd808a56171b81","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:30:23.821Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-21T20:15:58.665210Z","id":"CVE-2023-28081","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","type":"CWE","lang":"en","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-21T20:16:02.965Z"}}]}}}