Code execution via capped Brotli output buffer
Published Nov 6, 2023 · Updated Feb 26, 2025
Heap-based buffer overflow in Exiv2 0.28.0 allows attackers to execute arbitrary code when a crafted image's metadata is read. BmffImage::brotliUncompress caps its output-buffer allocation at 128 KiB but fails to stop when Brotli's total output exceeds that allocation. Exploitation requires a victim or application to process an attacker-supplied image; the heap overwrite can crash the process or execute code in its security context.
Summary
What happened
Heap-based buffer overflow in Exiv2 0.28.0 allows attackers to execute arbitrary code when a crafted image's metadata is read. BmffImage::brotliUncompress caps its output-buffer allocation at 128 KiB but fails to stop when Brotli's total output exceeds that allocation. Exploitation requires a victim or application to process an attacker-supplied image; the heap overwrite can crash the process or execute code in its security context.
The record
- CVE
- CVE-2023-44398
- Published
- Nov 6, 2023
- Updated
- Feb 26, 2025
- Vendor
- Exiv2
- Product
- Exiv2
- Classifications
- CWE-122, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 6, 2023CVE publishedPublication date reported by the CVE source.
- Feb 26, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion== 0.28.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Exiv2 upstream regression proof-of-concept imageproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo