A device for occluding a perforation in a blood vessel includes an expandable member. The expandable member includes a central expandable balloon disposed between a proximal and a distal balloon, wherein the proximal and distal balloons each contain first and second compositions, respectively. The proximal, central and distal balloons have respective stiffnesses, and the central balloon has a third stiffness that is less than the first and second stiffnesses. Upon expansion, the central balloon causes the proximal balloon and the distal balloon to substantially simultaneously release the first and second compositions, thereby allowing the first composition and the second composition to combine in-situ and form, therein, a biocompatible foam to occlude a perforation within the vasculature.