CVE-2018-9145

NameCVE-2018-9145
DescriptionIn the DataBuf class in include/exiv2/types.hpp in Exiv2 0.26, an issue exists in the constructor with an initial buffer size. A large size value may lead to a SIGABRT during an attempt at memory allocation. NOTE: some third parties have been unable to reproduce the SIGABRT when using the 4-DataBuf-abort-1 PoC file.
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)bullseye0.27.3-3+deb11u2fixed
bullseye (security)0.27.3-3+deb11u1fixed
bookworm0.27.6-1fixed
trixie, sid0.28.3+dfsg-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2source(unstable)(not affected)

Notes

- exiv2 <not-affected> (Vulnerable code introduced later; only affected experimental; bug #910909)
https://github.com/xiaoqx/pocs/tree/master/exiv2
https://github.com/Exiv2/exiv2/pull/470
Fixed with: https://github.com/Exiv2/exiv2/commit/c03f73268f65c73f9d3d7b670f13e48e92692750
Issue introduced after https://github.com/Exiv2/exiv2/commit/163f3ce7f17a143f58d857a5cba3cb7b24436a2a

Search for package or bug name: Reporting problems