MGASA-2026-0595: Updated zbar package fixes security vulnerabilities
ZBar through 0.23.95 contains an out-of-bounds read vulnerability in zbarsqdecode() in zbar/sqcode.c that allows attackers to read heap memory outside the image buffer via crafted SQ code images. Attackers can supply an image with a skewed SQ code finder pattern near the edge, producing unchecked sample coordinates that crash the decoder and leak bytes into output.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
mageia/zbarto a version that resolves this vulnerability.Fixed in 0.23.95-2.mga10
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What input must an attacker control to trigger the issue?
An attacker needs to supply a crafted image containing an SQ code with a skewed finder pattern positioned near the image edge. The malformed pattern can cause the decoder to use unchecked sample coordinates.
What is the practical impact of successful exploitation?
The flaw can cause the decoder to read heap memory beyond the image buffer. This may crash the decoder and leak bytes from heap memory into its output.
Which versions are affected?
ZBar through version 0.23.95 is affected.