A team has finished a game with 5-12-7 runs-hits-errors line 4 times since 1897, most recently Philadelphia Phillies on 15 May 1935. That is about one every 110,751 team-games.
Box score for the most recent one ↗
5-12-6 5-12-2 5-12-1 5-12-3 5-12-0 5-12-5 5-12-7 5-12-8 5-13-2 5-13-8 5-13-1 5-13-4 5-13-6
The whole distribution — Runs-Hits-Errors Lines · All 18 shapes