{"id":"ASB-A-283099444","details":"In ConvertRGBToPlanarYUV of Codec2BufferUtils.cpp, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.","aliases":["A-283099444","CVE-2024-0023"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2024-01-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2024-01-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/frameworks/av/+/30b1b34cfd5abfcfee759e7d13167d368ac6c268"},{"type":"FIX","url":"https://android.googlesource.com/platform/frameworks/av/+/30b1b34cfd5abfcfee759e7d13167d368ac6c268"}],"affected":[{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14-next:0"},{"fixed":"14-next:2024-01-01"}]}],"versions":["14-next"],"ecosystem_specific":{"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/4eba80f6698cb2d7aa48ea4f7728dbdf11f29fd3","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["171907788624393277576463990727337245975","266857258801834299928775247832617392449","324731063664894238649446225070583481331","69909754135387287024077381248434302861","8480256186502824540199977946897902375"]},"id":"ASB-A-283099444-2771b47e"},{"signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/4eba80f6698cb2d7aa48ea4f7728dbdf11f29fd3","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp","function":"ConvertRGBToPlanarYUV"},"deprecated":false,"digest":{"length":2556,"function_hash":"279170240592909725332005736864581918089"},"id":"ASB-A-283099444-e290da49","signature_type":"Function"}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/4eba80f6698cb2d7aa48ea4f7728dbdf11f29fd3"],"severity":"High","spl":"2024-01-01","types":["EoP"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-283099444.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2024-01-01"}]}],"versions":["11"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/av/+/d83225b43057dd25deb5083772e6ebc2f5e5253b"],"severity":"High","spl":"2024-01-01","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"129231562570970158183939558874321284042","length":2014},"id":"ASB-A-283099444-21801862","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/d83225b43057dd25deb5083772e6ebc2f5e5253b","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp","function":"ConvertRGBToPlanarYUV"}},{"digest":{"line_hashes":["294047738314291937965356928757776352318","263266827447335412584720773234508699562","136706318425649091115213275492943507119","226795213716081528700932410798692467423","89546135907421783310030848122338984894"],"threshold":0.9},"id":"ASB-A-283099444-467457ee","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/d83225b43057dd25deb5083772e6ebc2f5e5253b","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp"},"deprecated":false}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-283099444.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2024-01-01"}]}],"versions":["12"],"ecosystem_specific":{"spl":"2024-01-01","types":["EoP"],"vanir_signatures":[{"source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp","function":"ConvertRGBToPlanarYUV"},"deprecated":false,"digest":{"length":2556,"function_hash":"279170240592909725332005736864581918089"},"id":"ASB-A-283099444-0859d9d5","signature_type":"Function","signature_version":"v1"},{"signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["171907788624393277576463990727337245975","266857258801834299928775247832617392449","324731063664894238649446225070583481331","69909754135387287024077381248434302861","8480256186502824540199977946897902375"]},"id":"ASB-A-283099444-55886ce3","signature_type":"Line"}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-283099444.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2024-01-01"}]}],"versions":["12L"],"ecosystem_specific":{"spl":"2024-01-01","types":["EoP"],"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp"},"deprecated":false,"digest":{"line_hashes":["171907788624393277576463990727337245975","266857258801834299928775247832617392449","324731063664894238649446225070583481331","69909754135387287024077381248434302861","8480256186502824540199977946897902375"],"threshold":0.9},"id":"ASB-A-283099444-5aadd03d"},{"deprecated":false,"digest":{"length":2556,"function_hash":"279170240592909725332005736864581918089"},"id":"ASB-A-283099444-c5c5f081","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp","function":"ConvertRGBToPlanarYUV"}}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-283099444.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13:0"},{"fixed":"13:2024-01-01"}]}],"versions":["13"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822"],"severity":"High","spl":"2024-01-01","types":["EoP"],"vanir_signatures":[{"source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp"},"deprecated":false,"digest":{"line_hashes":["171907788624393277576463990727337245975","266857258801834299928775247832617392449","324731063664894238649446225070583481331","69909754135387287024077381248434302861","8480256186502824540199977946897902375"],"threshold":0.9},"id":"ASB-A-283099444-29e87c66","signature_type":"Line","signature_version":"v1"},{"source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822","target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp","function":"ConvertRGBToPlanarYUV"},"deprecated":false,"digest":{"function_hash":"279170240592909725332005736864581918089","length":2556},"id":"ASB-A-283099444-ae76ea7d","signature_type":"Function","signature_version":"v1"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-283099444.json"}},{"package":{"name":"platform/frameworks/av","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14:0"},{"fixed":"14:2024-01-01"}]}],"versions":["14"],"ecosystem_specific":{"types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"279170240592909725332005736864581918089","length":2556},"id":"ASB-A-283099444-066eacdb","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822","target":{"function":"ConvertRGBToPlanarYUV","file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp"}},{"target":{"file":"media/codec2/sfplugin/utils/Codec2BufferUtils.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["171907788624393277576463990727337245975","266857258801834299928775247832617392449","324731063664894238649446225070583481331","69909754135387287024077381248434302861","8480256186502824540199977946897902375"]},"id":"ASB-A-283099444-c00d49c7","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822"}],"fixes":["https://android.googlesource.com/platform/frameworks/av/+/3ee0378ac5b39fe57fb91f0a8113e0fd18ec1822"],"severity":"High","spl":"2024-01-01"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-283099444.json"}}],"schema_version":"1.9.0"}