Almost all my squash and zuchinni get about 2 inches long and then begin to wrinkle and get soft at the blossom end. They do not grow any bigger.
Squash Going Soft at a Couple of Inches
Certified GKH Gardening Expert
It sounds like a pollination problem. These articles will help: