CWE
190 680
Advisory Published
Updated

CVE-2022-35289: Integer Overflow

First published: Tue Oct 11 2022(Updated: )

A write-what-where condition in hermes caused by an integer overflow, prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

Credit: cve-assign@fb.com

Affected SoftwareAffected VersionHow to fix
Facebook Hermes<0.12.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-35289?

    CVE-2022-35289 is a vulnerability in Hermes, a JavaScript engine developed by Facebook, that allows attackers to potentially execute arbitrary code via crafted JavaScript.

  • What is the severity of CVE-2022-35289?

    The severity of CVE-2022-35289 is critical, with a CVSS score of 9.8.

  • Which version of Hermes is affected by CVE-2022-35289?

    Hermes versions up to and excluding 0.12.0 are affected by CVE-2022-35289.

  • How can I fix CVE-2022-35289?

    To fix CVE-2022-35289, it is recommended to update Hermes to a version beyond 0.12.0, which includes the fix for the vulnerability.

  • Where can I find more information about CVE-2022-35289?

    You can find more information about CVE-2022-35289 in the official Facebook Security Advisories and the GitHub commit linked in the references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203