Catalyzes the reversible oxidation of malate to oxaloacetate. (S)-malate + NAD(+) = H(+) + NADH + oxaloacetate Homotetramer; arranged as a dimer of dimers. Belongs to the LDH/MDH superfamily. MDH type 3 family.