CVE-2018-20098Exiv2
Medium 6.5 No auth needed
Follow: this CVE · Exiv2 · Exiv2 We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Dec 12, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
There is a heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.
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-2018-119). 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.
- access.redhat.com
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- lists.fedoraproject.org