CVE-2018-8977 json
In Exiv2 0.26, the Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp allows remote attackers to cause a denial of service (inval…
published 2018-03-25 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-0072
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
In Exiv2 0.26, the Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp allows remote attackers to cause a denial of service (invalid memory access) via a crafted file.
Patch / fix
- exiv2 RHEL 7 0.27.0-2.el7_6
- exiv2-libs RHEL 7 0.27.0-2.el7_6
red hat advisories RHSA-2019:2101
- exiv2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 0.26-150000.6.16.1
suse advisories SUSE-SU-2022:3598-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-8977 updated cvss 3.3
exiv2: invalid memory access in Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp
-
Red Hat Enterprise Linux Client (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux Client Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6 Red Hat Enterprise Linux ComputeNode (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux ComputeNode Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6 Red Hat Enterprise Linux Server (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux Server Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6fixed: vendor fix RHSA-2019:2101
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux Workstation Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6 -
Red Hat Enterprise Linux 6 exiv2, exiv2-libs Red Hat Enterprise Linux 8 exiv2, exiv2-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.10% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/Exiv2/exiv2/issues/247 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/Exiv2/exiv2/issues/247
exploit, issue-tracking, patch
-
security.gentoo.org
/glsa/201811-14
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2101
vendor-advisory
Sources
- CVE List CVE-2018-8977
- NVD CVE-2018-8977
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.