Foam Tack Glue.
Specially formulated for foam but also effective on wood and cork.
Use as a contact cement whenever bonding two large surfaces.