CVE-2020-18899Exiv2
Medium 6.5 No auth needed
Follow: this CVE · Exiv2 · Exiv2 We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Aug 19, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Exiv2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | exiv2 |
all |
no fixed version | — |
Per OSV / GitHub Advisories (PYSEC-2021-879). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| exiv2 | exiv2 | 0.27 |
Official sources
References
Links published by the sources. Open them with care.
- cwe.mitre.org Technical Description
- github.com Exploit Issue Tracking Third Party Advisory
- security.gentoo.org