SecurityContext

CVE-2018-20787: Xiaomi perseus-p-oss MIX 3 - Integer Overflow

  • Cve: CVE-2018-20787
  • Name: Xiaomi perseus-p-oss MIX 3 - Integer Overflow
  • Description: The ft5x46 touchscreen driver for custom Linux kernels on the Xiaomi perseus-p-oss MIX 3 device through 2018-11-26 has an integer overflow and OOPS because of missing checks of the size argument in tpdbg_write in drivers/input/touchscreen/ft5x46/ft5x46_ts.c. This is exploitable for a device crash via a syscall by a crafted application on a rooted device.
  • Impact: Local attackers can cause a device crash or denial of service via crafted syscalls, potentially leading to system instability.
  • Remediation: Apply patches that add proper size argument checks in tpdbg_write or update to the latest kernel version with fixed driver code.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: admin_privileges
  • Requirements: Attacker needs root access on the device
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00809
  • Epss percentile: 0.57824
  • Assignee: [email protected]
  • Published at: 2019-02-25T04:29:00Z
  • Age in days: 2829
  • Modified at: 2026-06-17T01:53:28Z
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20787
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

References

UrlSourceTags
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/991nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
micode:xiaomi_perseus-p-oss<= 2018-11-26nonvd/v1/products/micode/xiaomi_perseus-p-oss

Projects

RepositoryLink kindsIndexedUrl
micode/xiaomi_kernel_opensourceissuesyes/v1/repositories/micode/xiaomi_kernel_opensource

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts