Will Open Collector Output of 0~12V damage 0~5V input DAQ?
ESD diodes are designed to be small and fast but are limited to 5mA DC

Thus 7V above 5V into 5k may draw 1.4mA which meets this criteria.

However 12V must never be applied before 5V to avoid SCR latchup, thus an R divider is safer.