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.
Published: 2026-10-14
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Tue, 20 Oct 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 19 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Dlbeer
Dlbeer quirc
Vendors & Products Dlbeer
Dlbeer quirc

Wed, 14 Oct 2026 14:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T01:02:45.791Z

Reserved: 2026-10-14T13:07:18.898Z

Link: CVE-2026-110596

cve-icon Vulnrichment

Updated: 2026-10-20T01:02:41.790Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:10.797

Modified: 2026-10-20T01:17:11.073

Link: CVE-2026-110596

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T13:08:46Z

Weaknesses