Apple Inc. (AAPL) - Get Report is scrambling to fix a software bug that has transformed its popular FaceTime video and audio chat service into a potential piece of spyware.

Apple reportedly disabled Group FaceTime on Monday after complaints flooded in that the service allowed users to listen in on the people they were calling before they had accepted or rejected the call, as if a microphone was placed in the room, according to 9to5Mac. 

Apple plans to roll out a software upgrade later this week that will fix the bug, the company has said in a statement released to various media outlets.

For Apple, which emphasizes how much it protects its users' information compared to other tech companies, the software bug has created a bit of an embarrassment as it gets ready to report its December quarter earnings after the close.

After opening up Tuesday, shares of Apple reversed course and fell 0.34% in late morning trading to $155.77.  Twitter CEO Jack Dorsey and Reddit co-founder Alexis Ohanian both took to Twitter late Monday to warn FaceTime users about the glitch.

The flaw that turned FaceTime into a secret listening device was triggered when users initiated a video call using the service with someone else on an iPhone. By hitting "add person" while the phone was ringing, users could suddenly hear everything happening on the other end.

Apple is a holding in Jim Cramer'sAction Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells AAPL? Learn more now.

Score a Touchdown with Jim Cramer's Big Game Special

Get access to the best stock picks in Jim Cramer's investment portfolio by executing a two-minute drill on our Big Game Special on Action Alerts PLUS, Jim's VIP club for investors. Sign up now through Feb. 4 and receive 58% off of the normal subscription price. Now that's a real touchdown!