Application crash via zero-width image division
Published Aug 22, 2023 · Updated Nov 4, 2025
Divide by zero in DjVuLibre 3.5.28 allows remote attackers to crash a consuming application through a crafted DjVu file. A zero-width image makes bw zero, and IW44Image::Map::image divides sz by bw during its overflow check before rejecting zero-sized images. Exploitation requires a user or application to process the file; the demonstrated floating-point exception terminates the consuming process.
Summary
What happened
Divide by zero in DjVuLibre 3.5.28 allows remote attackers to crash a consuming application through a crafted DjVu file. A zero-width image makes bw zero, and IW44Image::Map::image divides sz by bw during its overflow check before rejecting zero-sized images. Exploitation requires a user or application to process the file; the demonstrated floating-point exception terminates the consuming process.
The record
- CVE
- CVE-2021-46310
- Published
- Aug 22, 2023
- Updated
- Nov 4, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-369
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 22, 2023CVE publishedPublication date reported by the CVE source.
- Nov 4, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- DjVuLibre zero-width image proof of conceptproof 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