# CVE-2024-0040: In setParameter of MtpPacket.cpp, there is a possible out of bounds read due to a heap buffer overflow.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.95%, higher than 80% of CVEs (2026-12-01)
- Published: 2024-02-16T00:08:18.790Z
- Modified: 2026-06-17T06:52:40.320Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: google_android

## 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.

(As written by CVE List.)

## Affected

- Google Android: 14; 13; 12L; 12; 11; 11.0; 12.0; 12l; 13.0; 14.0; 12.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://android.googlesource.com/platform/frameworks/av/+/2ca6c27dc0336fd98f47cfb96dc514efa98e8864> (mailing-list, patch)
- <https://source.android.com/security/bulletin/2024-02-01> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2024-0040](https://www.cve.org/CVERecord?id=CVE-2024-0040), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-0040](https://nvd.nist.gov/vuln/detail/CVE-2024-0040), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-0040 · Whole record: https://cve.day/CVE-2024-0040.json · Rebuilt by cve.day 2026-11-25T22:58:36.855Z
