# CVE-2021-3482: A flaw was found in Exiv2 in versions before and including 0.27.4-RC1.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.06%, higher than 81% of CVEs (2026-12-01)
- Published: 2021-04-08T22:06:42.000Z
- Modified: 2026-06-17T04:05:11.043Z
- Weaknesses: CWE-20, CWE-787
- Assigned by: redhat

## Description

A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size property in Jp2Image::readMetadata() in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data.

(As written by CVE List.)

## Affected

- exiv2: exiv2 0.27.4RC2
- exiv2 exiv2: up to 0.27.3; 0.27.4
- redhat enterprise_linux: 8.0
- fedoraproject fedora: 33; 34
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1946314> (issue-tracking, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/> (vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4958> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3482](https://www.cve.org/CVERecord?id=CVE-2021-3482), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3482](https://nvd.nist.gov/vuln/detail/CVE-2021-3482), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3482 · Whole record: https://cve.day/CVE-2021-3482.json · Rebuilt by cve.day 2026-11-25T22:58:00.687Z
