SecurityContext

CVE-2018-5899: Android CAF - Use After Free

  • Cve: CVE-2018-5899
  • Name: Android CAF - Use After Free
  • Description: In Android releases from CAF using the linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before security patch level 2018-06-05, whenever TDLS connection is setup, we are freeing the netbuf in ol_tx_completion_handler and after that, we are accessing it in NBUF_UPDATE_TX_PKT_COUNT causing a use after free.
  • Impact: Local attackers can cause memory corruption or crashes, leading to denial of service or potential privilege escalation.
  • Remediation: Update to the latest security patches after 2018-06-05 or apply relevant patches provided by the vendor.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00168
  • Epss percentile: 0.06118
  • Assignee: [email protected]
  • Published at: 2018-07-06T17:29:02Z
  • Age in days: 3063
  • Modified at: 2026-06-17T02:00:59Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5899
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://www.codeaurora.org/security-bulletin/2018/07/02/july-2018-code-aurora-security-bulletinnvdPatch
https://source.android.com/security/bulletin/pixel/2018-06-01#qualcomm-componentsnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
google:androidall versionsnonvd/v1/products/google/android

Index

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

Exploitation

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