Catalyzes the reversible oxidation of malate to oxaloacetate. Can also oxidize tartrate. (S)-malate + NAD(+) = H(+) + NADH + oxaloacetate kcat is 5.7 sec(-1) for NAD-dependent malate oxidation. Homodimer. Belongs to the LDH/MDH superfamily.