5.5

CVE-2021-34335: exiv2 Divide By Zero

CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2021-34335DEBIAN-CVE-2021-34335
Published 09-08-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-34335 is a medium (CVSS 5.5) Divide By Zero vulnerability in exiv2. EPSS estimates a 0.98% chance of exploitation in the next 30 days, higher than 61.7% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.98%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 09-08-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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 used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.98%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

0.00 pp

From 0.98% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.98%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • exiv2< 0.27.5-1
Exiv21 product
Fedoraproject1 product
Ubuntu1 product
  • exiv2< 0.27.2-8ubuntu2.6 | < 0.27.3-3ubuntu4

4 vendors · 4 products

References

10 links