Skip to content
Fencer Intel
medium 6.5

CVE-2018-10958 json

In types.cpp in Exiv2 0.26, a large size value may lead to a SIGABRT during an attempt at memory allocation for an Exiv2::Internal::PngChun…

published 8y ago modified 4mo ago also EUVD-2018-0051

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

In types.cpp in Exiv2 0.26, a large size value may lead to a SIGABRT during an attempt at memory allocation for an Exiv2::Internal::PngChunk::zlibUncompress call.

Patch / fix

  • exiv2 Debian 14, Debian 13, Debian 12 0.25-4

debian advisories DEBIAN-CVE-2018-10958

  • exiv2 Ubuntu 14.04 LTS 0.23-1ubuntu2.1
  • exiv2 Ubuntu 16.04 LTS 0.25-2.1ubuntu16.04.2
  • exiv2 Ubuntu 18.04 LTS 0.25-3.1ubuntu0.18.04.1

ubuntu advisories UBUNTU-CVE-2018-10958

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • 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 12 SP4, SLES 12 SP3, SLED 12 SP4 +5 more 0.23-12.5.1

suse advisories SUSE-SU-2018:3882-2SUSE-SU-2018:3882-1

Is CVE-2018-10958 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-10958 updated cvss 3.3

exiv2: SIGABRT caused by memory allocation in types.cpp:Exiv2::Internal::PngChunk::zlibUncompress()

  • Red Hat Enterprise Linux 6 exiv2, exiv2-libs
    affected: no fix available “Fix deferred”
  • 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_6
    +2 more products
    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
    fixed: vendor fix RHSA-2019:2101
  • Red Hat Enterprise Linux 8 exiv2, exiv2-libs
    not 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.44% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/Exiv2/exiv2/issues/302 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

Sources

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.