Every CVE Search/ Get API key

CVE-2024-0040

In setParameter of MtpPacket.cpp, there is a possible out of bounds read due to a heap buffer...

7.5 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.95%Up 1.9 points since Feb 16, 2024
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2024-0040
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-787, CWE-122
Updated
2026-11-02
CVE List 7.5

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.

Record
CVE-2024-0040
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-122
Updated
2026-11-02
EUVDEUVD-2024-15843 7.5

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.

Record
EUVD-2024-15843
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-3cmq-9cqr-3jc4 7.5

In setParameter of MtpPacket.cpp, there is a possible out of bounds read due to a heap buffer...

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.

Record
GHSA-3cmq-9cqr-3jc4
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-122, CWE-787
Updated
2026-11-02
OSVASB-A-300007708 No score

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.

Record
ASB-A-300007708
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
platform/frameworks/av
Android
14-next:0 up to 14-next:2024-02-01, plus listed versions
14-next
14-next:2024-02-01
platform/frameworks/av
Android
11:0 up to 11:2024-02-01, plus listed versions
11
11:2024-02-01
platform/frameworks/av
Android
12:0 up to 12:2024-02-01, plus listed versions
12
12:2024-02-01
platform/frameworks/av
Android
12L:0 up to 12L:2024-02-01, plus listed versions
12L
12L:2024-02-01
platform/frameworks/av
Android
13:0 up to 13:2024-02-01, plus listed versions
13
13:2024-02-01
platform/frameworks/av
Android
14:0 up to 14:2024-02-01, plus listed versions
14
14:2024-02-01

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubuthrasri/frameworks_av_CVE-2024-00402024-08-06

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-0040 is a high vulnerability (CVSS 7.5) in Google Android, published February 1, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.95%, the 80th percentile. Fixed in platform/frameworks/av 14-next:2024-02-01.

References

MoveEnter Open