CVE-2024-25112Denial of service due to unbounded recursion in QuickTimeVideo::multipleEntriesDecoder…
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A denial-of-service was found in Exiv2 version v0.28.1: an unbounded recursion can cause Exiv2 to crash by exhausting the stack. The vulnerable function, `QuickTimeVideo::multipleEntriesDecoder`, was new in v0.28.0, so Exiv2 versions before v0.28 are _not_ affected. The denial-of-service is triggered when Exiv2 is used to read the metadata of a crafted video file. This bug is fixed in version v0.28.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.
What to do
Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | exiv2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | exiv2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | exiv2 | Fix pending | ||
| Ubuntu 14.04 | exiv2 | Fix pending | ||
| Debian 14 | exiv2 | Fixed | 0.28.3+dfsg-2 | DEBIAN-CVE-2024-25112 |
| Debian 13 | exiv2 | Fixed | 0.28.3+dfsg-2 | DEBIAN-CVE-2024-25112 |
| Debian 12 | exiv2 | Fix pending | DEBIAN-CVE-2024-25112 | |
| Red Hat Enterprise Linux 9 | exiv2 | Not affected | ||
| Red Hat Enterprise Linux 9 | exiv2-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | exiv2-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | exiv2-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-exiv2-026 | Not affected | ||
| Red Hat Enterprise Linux 8 | exiv2 | Not affected | ||
| Red Hat Enterprise Linux 8 | exiv2-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | exiv2-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | exiv2-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | compat-exiv2-023 | Not affected | ||
| Red Hat Enterprise Linux 7 | compat-exiv2-026 | Not affected | ||
| Red Hat Enterprise Linux 7 | exiv2 | Not affected | ||
| Red Hat Enterprise Linux 7 | exiv2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | exiv2-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | exiv2-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | exiv2 | Not affected | ||
| Red Hat Enterprise Linux 6 | exiv2-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | exiv2-libs | Not affected | ||
| Alpine Linux 3.24 | exiv2 | Fixed | 0.28.2-r0 | ALPINE-CVE-2024-25112 |
| Alpine Linux 3.23 | exiv2 | Fixed | 0.28.2-r0 | ALPINE-CVE-2024-25112 |
| Alpine Linux 3.22 | exiv2 | Fixed | 0.28.2-r0 | ALPINE-CVE-2024-25112 |
| Alpine Linux 3.21 | exiv2 | Fixed | 0.28.2-r0 | ALPINE-CVE-2024-25112 |
| Alpine Linux 3.20 | exiv2 | Fixed | 0.28.2-r0 | ALPINE-CVE-2024-25112 |
| Alpine Linux 3.19 | exiv2 | Fixed | 0.28.2-r0 | ALPINE-CVE-2024-25112 |
| PyPI library | exiv2 | Fixed | 0.16.1 | GHSA-crmj-qh74-2r36 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- exiv2: affected: >= 0.28.0 < 0.28.2
References
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-crmj-qh74-2r36
- https://github.com/Exiv2/exiv2/pull/2337
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.