CWE
787 122
Advisory Published
Updated
Advisory Published

CVE-2019-6740: (Pwn2Own) Samsung Galaxy S9 ASN.1 Heap-based Buffer Overflow Remote Code Execution Vulnerability

First published: Mon Jun 03 2019(Updated: )

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Samsung Galaxy S9 prior to January 2019 Security Update (SMR-JAN-2019 - SVE-2018-13467). User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the ASN.1 parser. When parsing ASN.1 strings, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-7472.

Credit: zdi-disclosures@trendmicro.com

Affected SoftwareAffected VersionHow to fix
Samsung Galaxy S9 Firmware<2019-01
Samsung Galaxy S9

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-2019-6740?

    CVE-2019-6740 is a vulnerability that allows remote attackers to execute arbitrary code on vulnerable installations of Samsung Galaxy S9 prior to January 2019 Security Update.

  • How severe is CVE-2019-6740?

    CVE-2019-6740 has a severity rating of 9.6 (Critical).

  • How can I exploit CVE-2019-6740?

    To exploit CVE-2019-6740, the target must visit a malicious page or open a malicious file.

  • Is my Samsung Galaxy S9 affected by CVE-2019-6740?

    Samsung Galaxy S9 devices prior to the January 2019 Security Update (SMR-JAN-2019 - SVE-2018-13467) are vulnerable to CVE-2019-6740.

  • How do I protect my Samsung Galaxy S9 from CVE-2019-6740?

    To protect your Samsung Galaxy S9, make sure to install the January 2019 Security Update (SMR-JAN-2019 - SVE-2018-13467) or later.

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