CVE-2021-31292Exiv2
High 7.5 No auth needed
Follow: this CVE · Exiv2 · Exiv2 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jul 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An integer overflow in CrwMap::encode0x1810 of Exiv2 0.27.3 allows attackers to trigger a heap-based buffer overflow and cause a denial of service (DOS) via crafted metadata.
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-877). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| exiv2 | exiv2 | 0.27.3 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- www.debian.org Third Party Advisory