CVE-2019-6740

Samsung Galaxy S9: Heap-based Buffer Overflow

9.6 critical EPSS 3.34%

Published 3 Jun 2019 Updated 4 Aug 2024 CNA: zdi

Description

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.

Severity (CVSS)

9.6 critical CVSS 3.0 from zdi (CNA)
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 3.34%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.4% of all scored CVEs. Scores of 26 Nov 2026.

Weakness

Affected products

As the CNA lists them.

ProductVersions
Galaxy S9
affected prior to January 2019 Security Update (SMR-JAN-2019 - SVE-2018-13467)

Is my server affected?

This CVE is in Galaxy S9 of Samsung, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

PatchBrief matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2019-6740 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.