Bug found by the [new fuzz target](https://github.com/Exiv2/exiv2/pull/3505). https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j
Bug found by the new fuzz target.
GHSA-p2pw-7935-c73j