When any entity (including a player) rides a vehicle, its hitbox has still the same size. This is mostly problematic for boats and minecarts as there you would be able to attack a player from underneath a boot or as seen here a player could get "for no reason" damage.
Linked issues
is duplicated by 11
relates to 4
Attachments
Comments 28
Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.
This is an automated comment on any open or reopened issue with out-of-date affected versions.
Affects 18w31a. Better steps to reproduce: Sit in a Minecart, press F3+B, then F5 and teleport the minecart up: "/tp @e[type=minecraft:minecart] ~ ~20 ~"
The Player Hitbox changes when flying or swimming, so this Issue should be attended too.
Confirmed for 16w07b