Ive made a few repairs to foam in the past prior to reupholstering. In deep cuts into the foam I would cut out a square in the damaged area and fill it in with a new piece of foam. In smaller areas that need to repaired u can prob get away with a piece of duct tape over the spot.