I have a similar problem but the only possible reason I found here could be XP SP2.
Logitech optical radio mouse.
From my observations, the mouse escapes to the 0; 0 position, which is the upper left corner, it does not happen often, so I can observe the reason.
It runs in a straight line, I noticed it when I was working in a graphics program, it was really annoying as when painting some exact thing, the pencil makes scratches throughout the drawing

Any disturbances from the cell phone fall off because any disturbances are immediately heard in the loudspeakers.
And the most important thing !!!
I changed the mouse recently, and before that it was the same.
I had the Genius cable ball mouse.
So I think the hardware issue can be eliminated.
I suspect it may not be SP2's fault, but it may be some other program running in the background.
I suggest that anyone who has such a problem write a list of programs running in the background.
My programs: Tlen, NortonSystemWorks2005, KX Projekt, WLAN Monitor (Planet), Detonators (different versions of the control unit and different graphics) (maybe not a program, but maybe ...), Outpost, CommanderPro (UPS support), WinBar, Opera .
Maybe together we can find a solution to the problem of the escaping mouse