CVE-2024-0040: MtpPacket.cpp - Out of Bounds Read
- Cve: CVE-2024-0040
- Name: MtpPacket.cpp - Out of Bounds Read
- Description: In setParameter of MtpPacket.cpp, there is a possible out of bounds read due to a heap buffer overflow. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.
- Impact: Attackers can potentially disclose sensitive information remotely without user interaction.
- Remediation: Update to the latest version or apply patches that fix the buffer overflow issue.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.01954
- Epss percentile: 0.80811
- Assignee: [email protected]
- Published at: 2024-02-16T02:15:51Z
- Age in days: 1012
- Modified at: 2026-06-17T06:52:40Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-0040
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
| CWE-122 | Heap-based Buffer Overflow |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/uthrasri/frameworks_av_CVE-2024-0040 | poc-in-github | 2024-08-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://source.android.com/security/bulletin/2024-02-01 | nvd | Patch, Vendor Advisory |
| https://android.googlesource.com/platform/frameworks/av/+/2ca6c27dc0336fd98f47cfb96dc514efa98e8864 | nvd | Mailing List, Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:android | = 14.0, = 13.0, = 12.1, = 12.0, = 11.0 | no | nvd | /v1/products/google/android |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-08-06
- Remote: yes
- Exposed hosts: 239
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports