You can say the same about anything. I am guessing you don't use anything that is open source in any capacity and don't buy any proprietary software and libraries in case they are lying and they can't actually distribute them?
Sure. But this actually happened. I've been twice bitten by using images that claimed to be CC and then an apparent copyright owner appeared and said otherwise. I've never had that happen with open source software.
I think copyright trolling is more prevalent with images, and I think it's generally easier to determine the canonical origin of software. But yes, it's absolutely a risk and a reason why many companies have a legal review process before any new libraries can be used.
True. Although an additional wrinkle with Creative Commons is that, depending upon how conservative you want to be and how the copyright owner interprets terms like non-commercial and what constitutes appropriate attribution, there are all sorts of variations that may or may not be suitable for a given use.
Of course, for many casual purposes it's widely ignored and for photos of people used for advertising and marketing, you need a model release anyway.
To add what others are saying. I CC-BY all my photos but just because the photo is CC-BY doesn't mean it's safe to use. I don't know all the other "rights" but for example a photo I took of Mickey Mouse, or a movie poster, or a photo I took of some art in a museum may have additional rights issues. Even pictures of buildings
Note: I get that adobe might be wrong here. Whether they are right or wrong on particulars is beside the point. I just linked there because it was clearer than most other search results I found.