Chromatic aberration is an error that occurs in color images due to the fact that camera lenses refract the light of different wavelengths in different angles. The common approach today to correct the error is to use a lookup table for each camera-lens combination, e.g., as in Adobe PhotoShop Lightroom or DxO Optics Pro. In this paper, we propose a method that corrects the chromatic aberration error without any priot knowledge of the camera-lens combination, and does the correction already on the bayer data, i.e., before the Raw image data is interpolated to an RGB image. We evaluate our method in comparison to DxO Optics Pro, a state-of-the-art tool based on lookup tables, using 25 test images and the variance of the color differences (VCD) metric. The results show that our blind method has a similar error correction performance as DxO Optics Pro, but without prior knowledge of the camera-lens setup.