{"id":"PYSEC-2021-877","details":"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.","aliases":["CVE-2021-31292"],"modified":"2025-10-09T07:56:38.910270Z","published":"2021-07-26T17:15:00Z","references":[{"type":"FIX","url":"https://github.com/Exiv2/exiv2/issues/1530"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4958"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/"}],"affected":[{"package":{"name":"exiv2","ecosystem":"PyPI","purl":"pkg:pypi/exiv2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1","0.11.0","0.11.1","0.11.2","0.11.3","0.12.0","0.12.1","0.13.0","0.13.1","0.13.2","0.14.0","0.14.1","0.2","0.3","0.3.1","0.15.0","0.16.0","0.16.1","0.16.2","0.16.2.post1","0.16.3","0.16.3.post1","0.17.0","0.17.1","0.17.2","0.17.3","0.17.4","0.17.5"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/exiv2/PYSEC-2021-877.yaml"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}