Pipe not straight, touching another pipe - possible fixes
A little window and door, low pressure expanding foam will do the trick. Be very careful around those pipes they are in very bad shape. Don't pry or push on them. You are going to need a complete overhaul of your heating system if they are representative of your system. I'd start putting money away if I were you.

Don't use the regular expanding foam. It creates enormous amount of pressure.