CVE-2018-5772
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image...
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.
- Record
CVE-2018-5772- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-674
- Updated
- 2026-11-02
CVE List No score
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.
- Record
CVE-2018-5772- Updated
- 2026-11-02
EUVDEUVD-2018-0070 No score
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.
- Record
EUVD-2018-0070- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5fh8-wc7h-jjmx
5.5
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image...
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.
- Record
GHSA-5fh8-wc7h-jjmx- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
OSV
5.5
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.
- Record
CVE-2018-5772- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVPYSEC-2018-145
5.5
In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.
- Record
PYSEC-2018-145- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2022:3598-1 No score
Security update for exiv2
This update for exiv2 fixes the following issues:
- CVE-2021-37621: Fixed denial of service due to infinite loop in Image:printIFDStructure (bsc#1189333).
- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read() (bsc#1189332).
- CVE-2021-37619: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1189331).
- CVE-2021-37618: Fixed out-of-bounds read in Exiv2:Jp2Image:printStructure (bsc#1189330).
- CVE-2021-32617: Fixed denial of service inside inefficient algorithm (quadratic complexity) (bsc#1186192).
- CVE-2021-31292: Fixed integer overflow in CrwMap:encode0x1810 (bsc#1188756).
- CVE-2021-31291: Fixed heap-based buffer overflow vulnerability in jp2image.cpp may lead to a denial of service (bsc#1188733).
- CVE-2021-29470: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1185447).
- CVE-2020-18899: Fixed uncontrolled memory allocation (bsc#1189636).
- CVE-2020-18898: Fixed remote denial of service in printIFDStructure function (bsc#1189780).
- CVE-2018-8977: Fixed remote denial of service in Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp (bsc#1086798).
- CVE-2018-8976: Fixed remote denial of service in image.cpp Exiv2::Internal::stringFormat via out-of-bounds read (bsc#1086810).
- CVE-2018-5772: Fixed segmentation fault caused by uncontrolled recursion inthe Exiv2::Image::printIFDStructure (bsc#1076579).
- CVE-2018-18915: Fixed an infinite loop in the Exiv2:Image:printIFDStructure function (bsc#1114690).
- CVE-2018-10772: Fixed segmentation fault when the function Exiv2::tEXtToDataBuf() is finished (bsc#1092096).
- Record
SUSE-SU-2022:3598-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
exiv2SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15-ESPOS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15-LTSS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15-LTSS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP1-BCL From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
exiv2SUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP2-BCL From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP2-LTSS From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 SP2 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Proxy 4.1 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Retail Branch Server 4.1 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Server 4.1 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Enterprise Storage 6 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Enterprise Storage 7 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2openSUSE:Leap 15.3 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2openSUSE:Leap 15.4 From an advisory covering 15 CVEs |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| affected, aliases | 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-5772 is a medium vulnerability (CVSS 5.5) in Exiv2, published January 18, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.86%, the 79th percentile. No source names a fixed version.
References
securityfocus.com/bid/102789
security.gentoo.org/glsa/201811-14
github.com/Exiv2/exiv2/issues/216
nvd.nist.gov/vuln/detail/CVE-2018-5772
github.com/advisories/GHSA-5fh8-wc7h-jjmx
suse.com/support/update/announcement/2022/suse-su-20223598-1
Show 30 moreShow less
bugzilla.suse.com/1076579
bugzilla.suse.com/1086798
bugzilla.suse.com/1086810
bugzilla.suse.com/1092096
bugzilla.suse.com/1114690
bugzilla.suse.com/1185447
bugzilla.suse.com/1186192
bugzilla.suse.com/1188733
bugzilla.suse.com/1188756
bugzilla.suse.com/1189330
bugzilla.suse.com/1189331
bugzilla.suse.com/1189332
bugzilla.suse.com/1189333
bugzilla.suse.com/1189636
bugzilla.suse.com/1189780
suse.com/security/cve/CVE-2018-10772
suse.com/security/cve/CVE-2018-18915
suse.com/security/cve/CVE-2018-5772
suse.com/security/cve/CVE-2018-8976
suse.com/security/cve/CVE-2018-8977
suse.com/security/cve/CVE-2020-18898
suse.com/security/cve/CVE-2020-18899
suse.com/security/cve/CVE-2021-29470
suse.com/security/cve/CVE-2021-31291
suse.com/security/cve/CVE-2021-31292
suse.com/security/cve/CVE-2021-32617
suse.com/security/cve/CVE-2021-37618
suse.com/security/cve/CVE-2021-37619
suse.com/security/cve/CVE-2021-37620
suse.com/security/cve/CVE-2021-37621