I have deleted my previous answer, as it was based upon the same incorrect information as the question.
Your question is based upon incorrect information, since there were 5 judges present at the first task. You've missed Barty Crouch sr, who awarded Harry 9 points as well.
So the total number of points Harry received was 40: 8 from Maxime, 9 from Crouch, 9 from Dumbledore, 10 from Bagman, and 4 from Karkaroff.
Since Victor Krum received 10 points from Karkaroff, that leaves 30 points between the remaining four judges, with an average of 7.5 points per judge, which seems entirely reasonable.
And don't forget that Krum got docked some points for damaging the other eggs, as Ron explains to Harry.
"[...] And Krum - you won't believe this, but he didn't even think of flying! He was probably the best after you, though. Hit it with some sort of spell right in the eye. Only thing is, it went trampling around in agony and squashed half the real eggs - they took marks off for that, he wasn't supposed to do any damage to them."
—Harry Potter and the Goblet of Fire by J.K. Rowling, chapter 20: "The First Task"
So there seems no foul play going on there, although I wouldn't put it past Bagman to give Krum a lower score than was strictly fair. After all, he offered Harry his help right before the start of the task.
In the second task, Cedric scores 47 points, Harry 45, Krum 40, and Fleur 25. This leaves Harry now tied with Cedric at 85 points, with Krum in third place at 80 points and Fleur last, her total score still unkown.
From this we can deduce that Cedric had scored 38 points in the first task.