{"id":"PUB-A-231445184","details":"In phNxpNciHal_core_initialized of phNxpNciHal.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.","aliases":["A-231445184","CVE-2022-42542"],"modified":"2026-09-21T16:00:45.521740994Z","published":"2022-12-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-12-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/d0f860e0ce444b90dd771a098e27d21c94a05625"}],"affected":[{"package":{"name":"platform/hardware/nxp/nfc","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13:0"},{"fixed":"13:2022-12-01"}]}],"versions":["13"],"ecosystem_specific":{"spl":"2022-12-01","types":["EoP"],"vanir_signatures":[{"digest":{"length":14692,"function_hash":"51253881135862347428239957564780186079"},"id":"PUB-A-231445184-2c5f8ae4","match_only_versions":["13"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/d0f860e0ce444b90dd771a098e27d21c94a05625","target":{"file":"pn8x/halimpl/hal/phNxpNciHal.cc","function":"phNxpNciHal_core_initialized"},"deprecated":false},{"id":"PUB-A-231445184-2fe40e62","match_only_versions":["13"],"signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/d0f860e0ce444b90dd771a098e27d21c94a05625","target":{"file":"pn8x/halimpl/hal/phNxpNciHal.cc"},"deprecated":false,"digest":{"line_hashes":["290237279516744424820959506356429186476","58054509618899671025145325802600266123","16350532519576600318529709610994724560","3672917913846760715927117833065794724"],"threshold":0.9}}],"fixes":["https://android.googlesource.com/platform/hardware/nxp/nfc/+/d0f860e0ce444b90dd771a098e27d21c94a05625"],"severity":"Moderate"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-231445184.json"}}],"schema_version":"1.9.0"}