Descriptionsamples/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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)jessie, jessie (lts)0.24-4.1+deb8u7vulnerable
stretch (security)0.25-3.1+deb9u3vulnerable
stretch (lts), stretch0.25-3.1+deb9u4vulnerable
buster (security), buster, buster (lts)0.25-4+deb10u4vulnerable
bullseye (security)0.27.3-3+deb11u1vulnerable
trixie, sid, bookworm0.27.6-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs

Issue in example code of Exiv2

Search for package or bug name: Reporting problems