The present invention is directed to a preferably live attenuated or subsequently inactivated African swine fever virus (ASFV), comprising a non-functional genomic CD2 gene, wherein such ASFV is non deficient in its replication, as well as to corresponding compositions or immunogenic compositions or vaccines, methods of production and uses for treating and/or preventing African swine fever in mammals, preferably of the family Suidae, for instance pigs, more preferably domestic pigs (Sus scrofa domesticus), wild pigs (Sus scrofa scrofa), warthogs (Potamochoerus porcus), bushpigs (Potamochoerus larvatus), giant forest hogs (Hylochoerus meinertzhageni) as well as feral pigs.