Bamba is expected to recover without surgery.
"Thankfully we caught this early and are able to treat Mo without surgery," Jeff Weltman, the Magic's president of basketball operations, said in a statement. "His return to action will depend on how he responds to treatment."
Bamba was the sixth overall pick in the 2018 NBA draft out of Texas.
Bamba has played 47 games for the Magic, averaging 6.2 points, 5 rebounds and 1.3 blocks for the Magic.