Every CVE Search/ Get API key

CVE-2018-5772

In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image...

5.5 Medium

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

1.86%Up 0.6 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 15 CVEs
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE: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
Affected packages
PackageAffectedFixed
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE: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
exiv2
SUSE:Manager Proxy 4.1
From an advisory covering 15 CVEs
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE: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
exiv2
SUSE:Manager Server 4.1
From an advisory covering 15 CVEs
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Enterprise Storage 6
From an advisory covering 15 CVEs
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Enterprise Storage 7
From an advisory covering 15 CVEs
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
openSUSE:Leap 15.3
From an advisory covering 15 CVEs
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
openSUSE:Leap 15.4
From an advisory covering 15 CVEs
before 0.26-150000.6.16.1
0.26-150000.6.16.1

History

History
RecordedChangedSources
affected, facts
affected
affected, aliasesEUVD
first indexedOSV
first indexedCVE 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

Show 30 moreShow less
MoveEnter Open