quirc through 1.2 Denial of Service via find_alignment_pattern Spiral Search
dlbeer quirc
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dlbeer quirc |
| No fix yet |
Original description
quirc through 1.2 contains an excessive-iteration vulnerability in find_alignment_pattern() in lib/identify.c that allows attackers to hang quirc_end() with a crafted image. Attackers can arrange three finder patterns producing a near-degenerate perspective transform, causing billions of region_code() iterations that exhaust CPU in applications decoding attacker-supplied QR images.
From the CVE record · VulnCheck