Every CVE Search/ Get API key

CVE-2020-18899

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0...

6.5 MediumFix available

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

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
None
Integrity
None
Availability
High

Exploit likelihood

1.66%Up 1.1 points since Aug 20, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
CVE-2020-18899
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/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-770
Updated
2026-11-02
CVE List 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
CVE-2020-18899
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
EUVDEUVD-2021-0074 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
EUVD-2021-0074
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-44mj-pwh6-pw78 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0...

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
GHSA-44mj-pwh6-pw78
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
OSV 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
CVE-2020-18899
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-18899 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
DEBIAN-CVE-2020-18899
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVPYSEC-2021-879 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
PYSEC-2021-879
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-18899 6.5

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Record
UBUNTU-CVE-2020-18899
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/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
Debian:12
before 0.27.2-6
0.27.2-6
exiv2
Debian:13
before 0.27.2-6
0.27.2-6
exiv2
Debian:14
before 0.27.2-6
0.27.2-6
exiv2
PyPI
All versions, plus listed versions
0.10.11.00.11.10.11.20.11.3
Show 23 moreShow less
0.12.00.12.10.13.00.13.10.13.20.14.00.14.10.15.00.16.00.16.10.16.20.16.2.post10.16.30.16.3.post10.17.00.17.10.20.30.3.10.17.20.17.30.17.40.17.5
None known
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
Show 19 moreShow less
Affected packages
PackageAffectedFixed
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
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
exiv2
Ubuntu:Pro:16.04:LTS
before 0.25-2.1ubuntu16.04.7+esm5, plus listed versions
0.25-1ubuntu10.25-2.10.25-2.1ubuntu16.04.10.25-2.1ubuntu16.04.20.25-2.1ubuntu16.04.3
Show 7 moreShow less
0.25-2.1ubuntu16.04.40.25-2.1ubuntu16.04.50.25-2.1ubuntu16.04.60.25-2.1ubuntu16.04.7+esm10.25-2.1ubuntu16.04.7+esm20.25-2.1ubuntu16.04.7+esm30.25-2.1ubuntu16.04.7+esm4
0.25-2.1ubuntu16.04.7+esm5
exiv2
Ubuntu:Pro:18.04:LTS
before 0.25-3.1ubuntu0.18.04.11+esm1, plus listed versions
0.25-3.10.25-3.1ubuntu0.18.04.10.25-3.1ubuntu0.18.04.20.25-3.1ubuntu0.18.04.30.25-3.1ubuntu0.18.04.4
Show 5 moreShow less
0.25-3.1ubuntu0.18.04.50.25-3.1ubuntu0.18.04.70.25-3.1ubuntu0.18.04.90.25-3.1ubuntu0.18.04.100.25-3.1ubuntu0.18.04.11
0.25-3.1ubuntu0.18.04.11+esm1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-18899 is a medium vulnerability (CVSS 6.5) in Exiv2, published August 19, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.66%, the 76th percentile. Fixed in exiv2 0.27.2-6.

References

Show 34 moreShow less
MoveEnter Open