Submeter #584889: px4 1.12.3 stack-buffer-overflowinformação

Títulopx4 1.12.3 stack-buffer-overflow
DescriçãoDuring a PX4 simulator test, the system encountered a crash caused by a stack buffer overflow triggered by sending a series of data packets. The error occurred at line 1808 in the mavlink_receiver.cpp file, within the MavlinkReceiver::handle_message_trajectory_representation_waypoints function. This function is responsible for handling TRAJECTORY_REPRESENTATION_WAYPOINTS messages received via the MAVLink protocol and decoding their contents into a locally defined buffer variable. However, this buffer is allocated on the stack and does not have sufficient capacity to hold the entire message data structure, resulting in a buffer overflow during the decoding process.
Fonte⚠️ https://github.com/PX4/PX4-Autopilot/issues/24915
Utilizador
 wwsshh (UID 85759)
Submissão26/05/2025 14h33 (há 1 Ano)
Moderação04/06/2025 13h43 (9 days later)
EstadoAceite
Entrada VulDB311127 [PX4-Autopilot 1.12.3 TRAJECTORY_REPRESENTATION_WAYPOINTS Message mavlink_receiver.cpp Excesso de tampão]
Pontos20

Do you need the next level of professionalism?

Upgrade your account now!