{"id":"ASB-A-300007708","details":"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.","aliases":["A-300007708","CVE-2024-0040"],"modified":"2026-09-17T16:10:43.690857626Z","published":"2024-02-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2024-02-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/frameworks/av/+/2ca6c27dc0336fd98f47cfb96dc514efa98e8864"}],"affected":[{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14-next:0"},{"fixed":"14-next:2024-02-01"}]}],"versions":["14-next"],"ecosystem_specific":{"spl":"2024-02-01","types":["ID"],"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["325429838327676121080075683515326448065","129768529294241399848549271647519954458","334674666946550792711235234589636658088","25817773784128918456096976811635035555","178465013067266614784176939361293545155"],"threshold":0.9},"id":"ASB-A-300007708-19e620ae","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/e1494a2d8e7eee25d7ea5469be43740e97294c99","target":{"file":"media/mtp/MtpPacket.cpp"}},{"id":"ASB-A-300007708-b36b90c3","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/e1494a2d8e7eee25d7ea5469be43740e97294c99","target":{"file":"media/mtp/MtpPacket.cpp","function":"MtpPacket::setParameter"},"deprecated":false,"digest":{"function_hash":"258562940385383442331892322260107070213","length":372}}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/e1494a2d8e7eee25d7ea5469be43740e97294c99"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-300007708.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2024-02-01"}]}],"versions":["11"],"ecosystem_specific":{"severity":"High","spl":"2024-02-01","types":["ID"],"vanir_signatures":[{"digest":{"line_hashes":["325429838327676121080075683515326448065","129768529294241399848549271647519954458","334674666946550792711235234589636658088","25817773784128918456096976811635035555","178465013067266614784176939361293545155"],"threshold":0.9},"id":"ASB-A-300007708-67bf0cf2","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/edf60c63243903b9f27f58f4954c599470d011fd","target":{"file":"media/mtp/MtpPacket.cpp"},"deprecated":false},{"deprecated":false,"digest":{"function_hash":"258562940385383442331892322260107070213","length":372},"id":"ASB-A-300007708-f84b2cc9","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/edf60c63243903b9f27f58f4954c599470d011fd","target":{"function":"MtpPacket::setParameter","file":"media/mtp/MtpPacket.cpp"}}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/edf60c63243903b9f27f58f4954c599470d011fd"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-300007708.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2024-02-01"}]}],"versions":["12"],"ecosystem_specific":{"types":["ID"],"vanir_signatures":[{"id":"ASB-A-300007708-1a3ba7bc","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/55757c291af9c88bf829e01fda90e626f6ff06eb","target":{"file":"media/mtp/MtpPacket.cpp"},"deprecated":false,"digest":{"line_hashes":["325429838327676121080075683515326448065","129768529294241399848549271647519954458","334674666946550792711235234589636658088","25817773784128918456096976811635035555","178465013067266614784176939361293545155"],"threshold":0.9}},{"signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/55757c291af9c88bf829e01fda90e626f6ff06eb","target":{"file":"media/mtp/MtpPacket.cpp","function":"MtpPacket::setParameter"},"deprecated":false,"digest":{"function_hash":"258562940385383442331892322260107070213","length":372},"id":"ASB-A-300007708-f2c6a8ec","signature_type":"Function"}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/55757c291af9c88bf829e01fda90e626f6ff06eb"],"severity":"High","spl":"2024-02-01"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-300007708.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2024-02-01"}]}],"versions":["12L"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/av/+/d5d10d821f05e8d03104921c4320d9739c0c475f"],"severity":"High","spl":"2024-02-01","types":["ID"],"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["325429838327676121080075683515326448065","129768529294241399848549271647519954458","334674666946550792711235234589636658088","25817773784128918456096976811635035555","178465013067266614784176939361293545155"],"threshold":0.9},"id":"ASB-A-300007708-344ed643","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/d5d10d821f05e8d03104921c4320d9739c0c475f","target":{"file":"media/mtp/MtpPacket.cpp"}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/d5d10d821f05e8d03104921c4320d9739c0c475f","target":{"file":"media/mtp/MtpPacket.cpp","function":"MtpPacket::setParameter"},"deprecated":false,"digest":{"function_hash":"258562940385383442331892322260107070213","length":372},"id":"ASB-A-300007708-7fec4db4"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-300007708.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13:0"},{"fixed":"13:2024-02-01"}]}],"versions":["13"],"ecosystem_specific":{"severity":"High","spl":"2024-02-01","types":["ID"],"vanir_signatures":[{"id":"ASB-A-300007708-a3fce1cd","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/960d83c60805bd0991e02cd72224a4063097af89","target":{"function":"MtpPacket::setParameter","file":"media/mtp/MtpPacket.cpp"},"deprecated":false,"digest":{"function_hash":"258562940385383442331892322260107070213","length":372}},{"digest":{"threshold":0.9,"line_hashes":["325429838327676121080075683515326448065","129768529294241399848549271647519954458","334674666946550792711235234589636658088","25817773784128918456096976811635035555","178465013067266614784176939361293545155"]},"id":"ASB-A-300007708-af900d65","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/960d83c60805bd0991e02cd72224a4063097af89","target":{"file":"media/mtp/MtpPacket.cpp"},"deprecated":false}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/960d83c60805bd0991e02cd72224a4063097af89"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-300007708.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14:0"},{"fixed":"14:2024-02-01"}]}],"versions":["14"],"ecosystem_specific":{"spl":"2024-02-01","types":["ID"],"vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/38852806102bb7e9d46f4b0de8a3b4918d625ad4","target":{"file":"media/mtp/MtpPacket.cpp","function":"MtpPacket::setParameter"},"deprecated":false,"digest":{"function_hash":"258562940385383442331892322260107070213","length":372},"id":"ASB-A-300007708-2054454b"},{"signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/38852806102bb7e9d46f4b0de8a3b4918d625ad4","target":{"file":"media/mtp/MtpPacket.cpp"},"deprecated":false,"digest":{"line_hashes":["325429838327676121080075683515326448065","129768529294241399848549271647519954458","334674666946550792711235234589636658088","25817773784128918456096976811635035555","178465013067266614784176939361293545155"],"threshold":0.9},"id":"ASB-A-300007708-8f2f84c7"}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/38852806102bb7e9d46f4b0de8a3b4918d625ad4"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-300007708.json"}}],"schema_version":"1.9.0"}