Cyanocobalamin injection is also sometimes used to treat methylmalonic aciduria (an inherited disease in which the body cannot break down protein) and is sometimes given to unborn babies to prevent methylmalonic aciduria after birth.