Is labu the word for any squash, or does is it specifically mean a pumpkin?
As far as I know, it's the word for any squash.
See the link below, it's in Indonesian, but it also mentions the Latin name (Cucurbitaceae) :
Labu merupakan buah yang dihasilkan oleh sejumlah anggota suku labu-labuan (Cucurbitaceae),...
The definition loosely translated : Labu is a fruit produced by all members of the Cucurbitaceae family.
The KBBI definition also mentions the same name (Cucurbitaceae):
What is squash?