Out-of-bounds write in Exiv2 RemoteIo::mmap function
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
Exiv2 up to and including 0.28.8 contains an out-of-bounds write (CWE-787) in the RemoteIo::mmap function. The bug is triggered only when Exiv2 lists image previews with the -pp option on a remote URL rather than a local file, so a user who runs it on a crafted image URL is affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
An out-of-bounds write was found in `RemoteIo::mmap()`. See https://github.com/Exiv2/exiv2/issues/9427 for more details about the cause of the bug. The bug is in the `RemoteIo` class, which is only used when Exiv2 is run on a URL, rather than a local file. Furthermore, the bug is only triggered when using Exiv2 to list available image previews (the `-pp` command line option). In other words, to trigger the bug, Exiv2 needs to be run like this: ```bash exiv2 -pp https://dodgywebsite.com/poc.jpg ```
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Exiv2 | <= 0.28.8 | 0.28.9 | Patch available | GHSA-vg6c-9f6h-4x5q |
- Exiv2 Vendor— Affected <= 0.28.8 Fixed in 0.28.9 Patch available GHSA-vg6c-9f6h-4x5q
Remediation
Update Exiv2 to the fixed version 0.28.9.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-vg6c-9f6h-4x5q Exiv2 Fixed in 0.28.9 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-vg6c-9f6h-4x5q
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences