Can screwing too far (about 1.5 inches) into a stud can weaken it?
Only a small fraction of the stud is necessary for the bearing strength of the wall. Every plumbing and electrical run in your house goes through much larger holes drilled through studs. 

If your cabinet is solid, your stud is fine.