Fourteen women and a child were among the dead, CNN reported.
The wedding guests were traveling in a minibus in the Andar district of Ghazni province when the blast occurred, said Nabi Jan, a spokesman for the provincial government.
Jan accused the Taliban of being behind the bombing.
Lytro unveils camera that can focus a photo after shooting it
NASA celebrates Earth Day with #GlobalSelfie