I recommend contacting Apple support. I called right away after I noticed it, was on the phone for 10 minutes, was offered 4 different options;
- Run more diagnostics on my end to determine if it was software
- Go to my local Apple store or Authorized repair to get my camera module replaced for free under my one year warranty for the product (not my Apple Care+)
- Send it in via mail to get the phone repaired
- Get a replacement device mailed to me through their mail in program for $99
I have a local Best Buy in town where I live, so I went in the next day and had them run through their procedures with diagnostic tools and checks, then proceed telling me I could either drive to an Apple store who had the part (2 hour drive) or wait a week for him to order the part. Week passed, got my phone in, took about an hour, presto, new camera setup, much better results.
If you can, definitely do #2 and get the new lens it is by far the best option. I wouldn't do #4 because you could get a refurbished one (which isn't acceptable for an investment like this to get a used item) that likely never had its lens replaced.
Best of Luck