Great job with the composition and HDRI conversion.
The red is chromatic aberration. The blue is simply a color cast caused by the blue in the stained glass and the blue daylight streaming through.
I agree with everyone that F22 is way too much for anything except macro. Plus with most DSLR's you start getting diffraction above F11.
It would really help if you give at least the type camera, lens, and F stop, and file type that you converted (TIFF, Raw, Jpeg, etc.) along with the frames and EV spacing. It can make a difference on how you approach correcting for this.
On this little Jpeg I simply made a blank layer and changed the blend mode to color. For the CA I used a very tiny brush and sampled the colors of the rock adjacent to the red and then painted it away at an opacity that worked. On the same layer I got rid of the blue cast by selecting a dark reddish brown, set the bush opacity to 14% and painted it away.