CVE-2026-110596

quirc through 1.2 Denial of Service via find_alignment_pattern Spiral Search

Published Oct 14, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The quirc library ≤1.2 contains a flaw in find_alignment_pattern() where a malformed QR code can cause quirc_end() to spin through a spiral search loop. This leads to an enormous number of region_code() iterations, exhausting CPU cycles and causing the decoding application to hang. The vulnerability falls under CWE‑834: Uncontrolled Resource Consumption. The effect is that any process using quirc to decode attacker‑supplied QR images becomes vulnerable to a denial‑of‑service attack.

Affected Systems

The affected product is the quirc 1.2 library distributed by dlbeer. Projects or services that link against this version when decoding QR codes can be compromised. The issue was reported in the source repository and does not affect later versions. If your application includes quirc 1.2 or earlier, it is exposed.

Risk and Exploitability

The risk is primarily that any service with unbounded image decoding using this library may become unavailable when an attacker provides a specially crafted QR code. Because checks for perspective distortion are not performed, the exploit can be considered reliable if the decoding function is called. The EPSS score of 0.00172 indicates a very low probability of exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. Administrators should treat it as a medium‑to‑high risk until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade quirc to a patched version (1.3 or later) that eliminates the spiral search issue.
  • Implement request or execution timeouts aroundirc_end() to prevent CPU exhaustion from consuming system resources indefinitely.
  • Validate or sanitize incoming QR images by rejecting those with too close or degenerate finder patterns, or by enforcing a baseline perspective distortion before decoding.

Generated by OpenCVE AI on October 15, 2026 at 21:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dlbeer
Dlbeer quirc
Vendors & Products Dlbeer
Dlbeer quirc
Type Values Removed Values Added
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.
Title quirc through 1.2 Denial of Service via find_alignment_pattern Spiral Search
Weaknesses CWE-834
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 20, 2026, 1:02 AM
Reserved
Oct 14, 2026, 1:07 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 20, 2026, 1:17 AM