---
title: "CVE-2021-34335"
canonical_url: "https://pkgseek.com/security/CVE-2021-34335"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-34335

Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A floating point exception (FPE) due to an integer divide by zero was found in Exiv2 versions v0.27.4 and earlier. The FPE is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently use…

CVE-2021-34335 严重级别为 MEDIUM (5.5)，共索引 3 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (5.5)
- **受影响构建数**: 3
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | libexiv2-27 | 0.27.2-8ubuntu2 | 0.27.2-8ubuntu2.6 |
| Ubuntu | focal | libexiv2-dev | 0.27.2-8ubuntu2 | 0.27.2-8ubuntu2.6 |
| Ubuntu | focal | libexiv2-doc | 0.27.2-8ubuntu2 | 0.27.2-8ubuntu2.6 |
