Buffer overflow in Exiv2

CVE-2018-14338

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.

Vulnerability class: Buffer Overflow

EPSS: 0.014 (69.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Exiv2 — versions 0.26
  • N/a — versions n/a

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2018-14338?
CVE-2018-14338 is a high-severity vulnerability in Exiv2, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.1/10. Published 2018-07-17.
How severe is CVE-2018-14338?
High severity. CVSS v3 base score is 8.1 out of 10.