{"id":"UBUNTU-CVE-2025-55304","details":"Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A denial-of-service was found in Exiv2 version 0.28.5: a quadratic algorithm in the ICC profile parsing code in jpegBase::readMetadata() can cause Exiv2 to run for a long time. The denial-of-service is triggered when Exiv2 is used to read the metadata of a crafted jpg image file. The bug is fixed in version 0.28.6.","modified":"2026-07-28T21:27:55.069754844Z","published":"2025-08-29T15:15:00Z","related":["USN-8103-1"],"upstream":["CVE-2025-55304"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-55304"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-55304"},{"type":"REPORT","url":"https://github.com/Exiv2/exiv2/pull/3335"},{"type":"REPORT","url":"https://github.com/Exiv2/exiv2/pull/3345"},{"type":"REPORT","url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8103-1"}],"affected":[{"package":{"name":"exiv2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/exiv2?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.25-4ubuntu2","0.25-4ubuntu3","0.27.2-8ubuntu2","0.27.2-8ubuntu2.2","0.27.2-8ubuntu2.4","0.27.2-8ubuntu2.5","0.27.2-8ubuntu2.6","0.27.2-8ubuntu2.7","0.27.2-8ubuntu2.7+esm1","0.27.2-8ubuntu2.7+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"exiv2","binary_version":"0.27.2-8ubuntu2.7+esm3"},{"binary_name":"libexiv2-27","binary_version":"0.27.2-8ubuntu2.7+esm3"}],"priority_reason":"Resource consumption issue that has been rated low by upstream developers"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-55304.json"}},{"package":{"name":"exiv2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/exiv2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.27.3-3ubuntu4","0.27.3-3.1ubuntu1","0.27.5-1ubuntu1","0.27.5-3ubuntu1","0.27.5-3ubuntu1.1","0.27.5-3ubuntu1.3"],"ecosystem_specific":{"binaries":[{"binary_name":"exiv2","binary_version":"0.27.5-3ubuntu1.3"},{"binary_name":"libexiv2-27","binary_version":"0.27.5-3ubuntu1.3"}],"priority_reason":"Resource consumption issue that has been rated low by upstream developers"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-55304.json"}},{"package":{"name":"exiv2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/exiv2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.27.6-1","0.27.6-1build1","0.27.6-1ubuntu0.1","0.27.6-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"exiv2","binary_version":"0.27.6-1ubuntu0.3"},{"binary_name":"libexiv2-27","binary_version":"0.27.6-1ubuntu0.3"}],"priority_reason":"Resource consumption issue that has been rated low by upstream developers"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-55304.json"}},{"package":{"name":"exiv2","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/exiv2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.28.5+dfsg-1","0.28.5+dfsg-1ubuntu0.1","0.28.5+dfsg-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.28.5+dfsg-1ubuntu0.3","binary_name":"exiv2"},{"binary_name":"libexiv2-28","binary_version":"0.28.5+dfsg-1ubuntu0.3"},{"binary_version":"0.28.5+dfsg-1ubuntu0.3","binary_name":"libexiv2-data"}],"priority_reason":"Resource consumption issue that has been rated low by upstream developers"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-55304.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}