Given the stong reaction on the upstream mailing list, following commit (http://cgit.freedesktop.org/cairo/commit/?id=fa4f48cccb6c7f4e1afb2ff4b98b906b7d8d4afc) should probably be cherry-picked.
Fixed in 1.12.10-r1