CVE-2020-18899 json
An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of se…
published 2021-08-19 5 y ago modified 2026-06-17 4 mo ago also PYSEC-2021-879 , EUVD-2021-0074
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- exiv2 Debian 14, Debian 13, Debian 12 0.27.2-6
debian advisories DEBIAN-CVE-2020-18899
- exiv2 Ubuntu Pro 16.04 LTS 0.25-2.1ubuntu16.04.7+esm5
- exiv2 Ubuntu Pro 18.04 LTS 0.25-3.1ubuntu0.18.04.11+esm1
ubuntu advisories UBUNTU-CVE-2020-18899
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 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 0.26-150000.6.16.1
suse advisories SUSE-SU-2022:3598-1
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-2020-18899 updated cvss 6.5
exiv2: uncontrolled memory allocation in DataBufdata may lead to DoS
-
Red Hat Enterprise Linux 6 exiv2, exiv2-libs Red Hat Enterprise Linux 7 exiv2, exiv2-libs, compat-exiv2-023, compat-exiv2-026affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 exiv2, exiv2-libs, compat-exiv2-026 Red Hat Enterprise Linux 9 exiv2, exiv2-libsnot 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
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.66% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Exiv2/exiv2/issues/742 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/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 |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | exiv2 | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/Exiv2/exiv2/issues/742
exploit, issue-tracking, third-party-advisory, report
-
security.gentoo.org
/glsa/202312-06
vendor-advisory, advisory
-
cwe.mitre.org
/data/definitions/789.html
technical-description, web
Sources
- CVE List CVE-2020-18899
- NVD CVE-2020-18899
- OSV PYSEC-2021-879
Fencer Vulns 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.