samples/geotag.cpp in the example code of Exiv2 0.26 misuses the realpath function on POSIX platforms (other than Apple platforms) where glibc is not used, possibly leading to a buffer overflow.
"https://github.com/pypa/advisory-database/blob/main/vulns/exiv2/PYSEC-2018-134.yaml"