CVE-2018-12265
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out...
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
CVE-2018-12265- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-125, CWE-190
- Updated
- 2026-11-02
CVE List No score
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
CVE-2018-12265- Updated
- 2026-11-02
EUVDEUVD-2018-0057 No score
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
EUVD-2018-0057- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7xfp-xm3p-9p92
8.8
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out...
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
GHSA-7xfp-xm3p-9p92- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
8.8
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
CVE-2018-12265- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-12265
8.8
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
DEBIAN-CVE-2018-12265- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVPYSEC-2018-132
8.8
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
PYSEC-2018-132- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2019:2101
5.3
Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update
- Record
RHSA-2019:2101- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-12265
8.8
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
- Record
UBUNTU-CVE-2018-12265- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0482-1 No score
Security update for exiv2
This update for exiv2 fixes the following issues:
exiv2 was updated to latest 0.26 branch, fixing bugs and security issues:
- CVE-2017-1000126: Fixed an out of bounds read in webp parser (bsc#1068873).
- CVE-2017-9239: Fixed a segmentation fault in TiffImageEntry::doWriteImage function (bsc#1040973).
- CVE-2018-12264: Fixed an integer overflow in LoaderTiff::getData() which might have led to an out-of-bounds read (bsc#1097600).
- CVE-2018-12265: Fixed integer overflows in LoaderExifJpeg which could have led to memory corruption (bsc#1097599).
- CVE-2018-17229: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109175).
- CVE-2018-17230: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109176).
- CVE-2018-17282: Fixed a null pointer dereference in Exiv2::DataValue::copy (bsc#1109299).
- CVE-2018-19108: Fixed an integer overflow in Exiv2::PsdImage::readMetadata which could have led to infinite loop (bsc#1115364).
- CVE-2018-19607: Fixed a null pointer dereference in Exiv2::isoSpeed which might have led to denial of service (bsc#1117513).
- CVE-2018-9305: Fixed an out of bounds read in IptcData::printStructure which might have led to to information leak or denial of service (bsc#1088424).
- CVE-2019-13114: Fixed a null pointer dereference which might have led to denial of service via a crafted response of an malicious http server (bsc#1142684).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:0482-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:0921-1 No score
Security update for exiv2
This update for exiv2 fixes the following issues:
exiv2 was updated to latest 0.26 branch, fixing bugs and security issues:
- CVE-2017-1000126: Fixed an out of bounds read in webp parser (bsc#1068873).
- CVE-2017-9239: Fixed a segmentation fault in TiffImageEntry::doWriteImage function (bsc#1040973).
- CVE-2018-12264: Fixed an integer overflow in LoaderTiff::getData() which might have led to an out-of-bounds read (bsc#1097600).
- CVE-2018-12265: Fixed integer overflows in LoaderExifJpeg which could have led to memory corruption (bsc#1097599).
- CVE-2018-17229: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109175).
- CVE-2018-17230: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109176).
- CVE-2018-17282: Fixed a null pointer dereference in Exiv2::DataValue::copy (bsc#1109299).
- CVE-2018-19108: Fixed an integer overflow in Exiv2::PsdImage::readMetadata which could have led to infinite loop (bsc#1115364).
- CVE-2018-19607: Fixed a null pointer dereference in Exiv2::isoSpeed which might have led to denial of service (bsc#1117513).
- CVE-2018-9305: Fixed an out of bounds read in IptcData::printStructure which might have led to to information leak or denial of service (bsc#1088424).
- CVE-2019-13114: Fixed a null pointer dereference which might have led to denial of service via a crafted response of an malicious http server (bsc#1142684).
- Record
SUSE-SU-2020:0921-1- Updated
- 2026-11-02
OSVUSN-3700-1 No score
exiv2 vulnerabilities
It was discovered that Exiv2 incorrectly handled certain files. An attacker could possibly use this to cause a denial of service. (CVE-2018-10958, CVE-2018-10998)
It was discovered that Exiv2 incorrectly handled certain PNG files. An attacker could possibly use this to access sensitive information. (CVE-2018-10999)
It was discovered that Exiv2 incorrectly handled certain files. An attacker could possibly use this to execute arbitrary code. (CVE-2018-11531)
It was discovered that Exiv2 incorrectly handled certain files. An attacker could possibly use this to access sensitive information. (CVE-2018-12264, CVE-2018-12265)
- Record
USN-3700-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
exiv2Debian:12 |
before 0.25-4 | 0.25-4 |
exiv2Debian:13 |
before 0.25-4 | 0.25-4 |
exiv2Debian:14 |
before 0.25-4 | 0.25-4 |
exiv2Debian:8 |
before 0.24-4.1+deb8u1, plus listed versions 0.24-4.1 |
0.24-4.1+deb8u1 |
exiv2Debian:9 |
before 0.25-3.1+deb9u1, plus listed versions 0.25-3.10.25-3.1+0.riscv64.1 |
0.25-3.1+deb9u1 |
exiv2Red Hat:enterprise_linux:7::client |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-debuginfoRed Hat:enterprise_linux:7::client |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-libsRed Hat:enterprise_linux:7::client |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-develRed Hat:enterprise_linux:7::client |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-docRed Hat:enterprise_linux:7::client |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
exiv2Red Hat:enterprise_linux:7::computenode |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-libsRed Hat:enterprise_linux:7::computenode |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-develRed Hat:enterprise_linux:7::computenode |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-docRed Hat:enterprise_linux:7::computenode |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2Red Hat:enterprise_linux:7::server |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-debuginfoRed Hat:enterprise_linux:7::server |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-libsRed Hat:enterprise_linux:7::server |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-develRed Hat:enterprise_linux:7::server |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-docRed Hat:enterprise_linux:7::server |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2Red Hat:enterprise_linux:7::workstation |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-libsRed Hat:enterprise_linux:7::workstation |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-develRed Hat:enterprise_linux:7::workstation |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2-docRed Hat:enterprise_linux:7::workstation |
before 0:0.27.0-2.el7_6 | 0:0.27.0-2.el7_6 |
exiv2SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 |
before 0.26-6.8.1 | 0.26-6.8.1 |
exiv2Ubuntu:14.04:LTS |
before 0.23-1ubuntu2.1, plus listed versions 0.23-1ubuntu10.23-1ubuntu2 |
0.23-1ubuntu2.1 |
exiv2Ubuntu:16.04:LTS |
before 0.25-2.1ubuntu16.04.2, plus listed versions 0.25-1ubuntu10.25-2.10.25-2.1ubuntu16.04.1 |
0.25-2.1ubuntu16.04.2 |
exiv2Ubuntu:18.04:LTS |
before 0.25-3.1ubuntu0.18.04.1, plus listed versions 0.25-3.1 |
0.25-3.1ubuntu0.18.04.1 |
exiv2openSUSE:Leap 15.1 |
before 0.26-lp151.7.3.1 | 0.26-lp151.7.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, references | EUVD | |
| first indexed | OSV | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-12265 is a high vulnerability (CVSS 8.8) in Exiv2, published June 13, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.85%, the 86th percentile. Fixed in exiv2 0.25-4.
References
github.com/TeamSeri0us/pocs/blob/master/exiv2/1-out-of-read-Poc
usn.ubuntu.com/3700-1
debian.org/security/2018/dsa-4238
security.gentoo.org/glsa/201811-14
lists.debian.org/debian-lts-announce/2018/06/msg00010.html
github.com/Exiv2/exiv2/issues/365
Show 170 moreShow less
access.redhat.com/errata/RHSA-2019:2101
lists.opensuse.org/opensuse-security-announce/2020-04/msg00009.html
nvd.nist.gov/vuln/detail/CVE-2018-12265
github.com/advisories/GHSA-7xfp-xm3p-9p92
security-tracker.debian.org/tracker/CVE-2018-12265
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1465061
bugzilla.redhat.com/show_bug.cgi?id=1470729
bugzilla.redhat.com/show_bug.cgi?id=1470737
bugzilla.redhat.com/show_bug.cgi?id=1470913
bugzilla.redhat.com/show_bug.cgi?id=1470946
bugzilla.redhat.com/show_bug.cgi?id=1470950
bugzilla.redhat.com/show_bug.cgi?id=1471772
bugzilla.redhat.com/show_bug.cgi?id=1473888
bugzilla.redhat.com/show_bug.cgi?id=1473889
bugzilla.redhat.com/show_bug.cgi?id=1475123
bugzilla.redhat.com/show_bug.cgi?id=1475124
bugzilla.redhat.com/show_bug.cgi?id=1482295
bugzilla.redhat.com/show_bug.cgi?id=1482296
bugzilla.redhat.com/show_bug.cgi?id=1482423
bugzilla.redhat.com/show_bug.cgi?id=1494443
bugzilla.redhat.com/show_bug.cgi?id=1494467
bugzilla.redhat.com/show_bug.cgi?id=1494776
bugzilla.redhat.com/show_bug.cgi?id=1494778
bugzilla.redhat.com/show_bug.cgi?id=1494780
bugzilla.redhat.com/show_bug.cgi?id=1494781
bugzilla.redhat.com/show_bug.cgi?id=1494782
bugzilla.redhat.com/show_bug.cgi?id=1494786
bugzilla.redhat.com/show_bug.cgi?id=1494787
bugzilla.redhat.com/show_bug.cgi?id=1495043
bugzilla.redhat.com/show_bug.cgi?id=1524104
bugzilla.redhat.com/show_bug.cgi?id=1524107
bugzilla.redhat.com/show_bug.cgi?id=1524116
bugzilla.redhat.com/show_bug.cgi?id=1525055
bugzilla.redhat.com/show_bug.cgi?id=1537353
bugzilla.redhat.com/show_bug.cgi?id=1545237
bugzilla.redhat.com/show_bug.cgi?id=1561213
bugzilla.redhat.com/show_bug.cgi?id=1561217
bugzilla.redhat.com/show_bug.cgi?id=1566260
bugzilla.redhat.com/show_bug.cgi?id=1566735
bugzilla.redhat.com/show_bug.cgi?id=1578659
bugzilla.redhat.com/show_bug.cgi?id=1579481
bugzilla.redhat.com/show_bug.cgi?id=1579544
bugzilla.redhat.com/show_bug.cgi?id=1590993
bugzilla.redhat.com/show_bug.cgi?id=1590994
bugzilla.redhat.com/show_bug.cgi?id=1594627
bugzilla.redhat.com/show_bug.cgi?id=1601628
bugzilla.redhat.com/show_bug.cgi?id=1632490
bugzilla.redhat.com/show_bug.cgi?id=1635045
bugzilla.redhat.com/show_bug.cgi?id=1646555
bugzilla.redhat.com/show_bug.cgi?id=1649094
bugzilla.redhat.com/show_bug.cgi?id=1649101
bugzilla.redhat.com/show_bug.cgi?id=1652637
bugzilla.redhat.com/show_bug.cgi?id=1656187
bugzilla.redhat.com/show_bug.cgi?id=1656195
bugzilla.redhat.com/show_bug.cgi?id=1660423
bugzilla.redhat.com/show_bug.cgi?id=1660424
bugzilla.redhat.com/show_bug.cgi?id=1660425
bugzilla.redhat.com/show_bug.cgi?id=1660426
bugzilla.redhat.com/show_bug.cgi?id=1664361
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2101.json
access.redhat.com/security/cve/CVE-2017-17724
cve.org/CVERecord?id=CVE-2017-17724
nvd.nist.gov/vuln/detail/CVE-2017-17724
access.redhat.com/security/cve/CVE-2018-4868
bugzilla.redhat.com/show_bug.cgi?id=1531724
cve.org/CVERecord?id=CVE-2018-4868
nvd.nist.gov/vuln/detail/CVE-2018-4868
access.redhat.com/security/cve/CVE-2018-8976
cve.org/CVERecord?id=CVE-2018-8976
nvd.nist.gov/vuln/detail/CVE-2018-8976
access.redhat.com/security/cve/CVE-2018-8977
cve.org/CVERecord?id=CVE-2018-8977
nvd.nist.gov/vuln/detail/CVE-2018-8977
access.redhat.com/security/cve/CVE-2018-9305
cve.org/CVERecord?id=CVE-2018-9305
nvd.nist.gov/vuln/detail/CVE-2018-9305
access.redhat.com/security/cve/CVE-2018-10772
cve.org/CVERecord?id=CVE-2018-10772
nvd.nist.gov/vuln/detail/CVE-2018-10772
access.redhat.com/security/cve/CVE-2018-10958
cve.org/CVERecord?id=CVE-2018-10958
nvd.nist.gov/vuln/detail/CVE-2018-10958
access.redhat.com/security/cve/CVE-2018-10998
cve.org/CVERecord?id=CVE-2018-10998
nvd.nist.gov/vuln/detail/CVE-2018-10998
access.redhat.com/security/cve/CVE-2018-10999
bugzilla.redhat.com/show_bug.cgi?id=1579488
cve.org/CVERecord?id=CVE-2018-10999
nvd.nist.gov/vuln/detail/CVE-2018-10999
access.redhat.com/security/cve/CVE-2018-11037
cve.org/CVERecord?id=CVE-2018-11037
nvd.nist.gov/vuln/detail/CVE-2018-11037
access.redhat.com/security/cve/CVE-2018-12264
cve.org/CVERecord?id=CVE-2018-12264
nvd.nist.gov/vuln/detail/CVE-2018-12264
access.redhat.com/security/cve/CVE-2018-12265
cve.org/CVERecord?id=CVE-2018-12265
access.redhat.com/security/cve/CVE-2018-14046
cve.org/CVERecord?id=CVE-2018-14046
nvd.nist.gov/vuln/detail/CVE-2018-14046
access.redhat.com/security/cve/CVE-2018-17282
cve.org/CVERecord?id=CVE-2018-17282
nvd.nist.gov/vuln/detail/CVE-2018-17282
access.redhat.com/security/cve/CVE-2018-17581
cve.org/CVERecord?id=CVE-2018-17581
nvd.nist.gov/vuln/detail/CVE-2018-17581
access.redhat.com/security/cve/CVE-2018-18915
cve.org/CVERecord?id=CVE-2018-18915
nvd.nist.gov/vuln/detail/CVE-2018-18915
access.redhat.com/security/cve/CVE-2018-19107
cve.org/CVERecord?id=CVE-2018-19107
nvd.nist.gov/vuln/detail/CVE-2018-19107
access.redhat.com/security/cve/CVE-2018-19108
cve.org/CVERecord?id=CVE-2018-19108
nvd.nist.gov/vuln/detail/CVE-2018-19108
access.redhat.com/security/cve/CVE-2018-19535
cve.org/CVERecord?id=CVE-2018-19535
nvd.nist.gov/vuln/detail/CVE-2018-19535
access.redhat.com/security/cve/CVE-2018-19607
cve.org/CVERecord?id=CVE-2018-19607
nvd.nist.gov/vuln/detail/CVE-2018-19607
access.redhat.com/security/cve/CVE-2018-20096
cve.org/CVERecord?id=CVE-2018-20096
nvd.nist.gov/vuln/detail/CVE-2018-20096
access.redhat.com/security/cve/CVE-2018-20097
cve.org/CVERecord?id=CVE-2018-20097
nvd.nist.gov/vuln/detail/CVE-2018-20097
access.redhat.com/security/cve/CVE-2018-20098
cve.org/CVERecord?id=CVE-2018-20098
nvd.nist.gov/vuln/detail/CVE-2018-20098
access.redhat.com/security/cve/CVE-2018-20099
cve.org/CVERecord?id=CVE-2018-20099
nvd.nist.gov/vuln/detail/CVE-2018-20099
access.redhat.com/security/cve/CVE-2019-9143
bugzilla.redhat.com/show_bug.cgi?id=1684381
cve.org/CVERecord?id=CVE-2019-9143
nvd.nist.gov/vuln/detail/CVE-2019-9143
suse.com/support/update/announcement/2020/suse-su-20200921-1
bugzilla.suse.com/1040973
bugzilla.suse.com/1068873
bugzilla.suse.com/1088424
bugzilla.suse.com/1097599
bugzilla.suse.com/1097600
bugzilla.suse.com/1109175
bugzilla.suse.com/1109176
bugzilla.suse.com/1109299
bugzilla.suse.com/1115364
bugzilla.suse.com/1117513
bugzilla.suse.com/1142684
suse.com/security/cve/CVE-2017-1000126
suse.com/security/cve/CVE-2017-9239
suse.com/security/cve/CVE-2018-12264
suse.com/security/cve/CVE-2018-12265
suse.com/security/cve/CVE-2018-17229
suse.com/security/cve/CVE-2018-17230
suse.com/security/cve/CVE-2018-17282
suse.com/security/cve/CVE-2018-19108
suse.com/security/cve/CVE-2018-19607
suse.com/security/cve/CVE-2018-9305
suse.com/security/cve/CVE-2019-13114
ubuntu.com/security/CVE-2018-12265
ubuntu.com/security/notices/USN-3700-1
ubuntu.com/security/CVE-2018-10958
ubuntu.com/security/CVE-2018-10998
ubuntu.com/security/CVE-2018-10999
ubuntu.com/security/CVE-2018-11531
ubuntu.com/security/CVE-2018-12264
lists.opensuse.org/archives/list/[email protected]/thread/U7X32HSPSOKHILGP4IPOOWMROAKSPGIY