CVE-2026-95516: Medium severity ubuntu/zbar vulnerability

Published Sep 22, 2026
·
Updated

[Unknown description]

Other sources

A heap-buffer-overflow (OOB write of 1 byte) exists in the qrcodedatalistextracttext() function in zbar/qrcode/qrdectxt.c. When decoding a Structured-Append (multi-symbol) QR group where some symbols are missing, the function writes NUL separator bytes (line 237) between present segments that were not accounted for in the buffer size calculation at line 196. The buffer is allocated as malloc(sactext + 1), where sactext counts only the payload data from present symbols and the +1 accounts for the final NUL terminator. However, each gap transition (missing-to-present segment boundary) writes an additional NUL byte that was never counted, causing a 1-byte heap overflow per gap. The simplest trigger is a single QR code declaring itself part of a 2-symbol SA group: the missing symbol creates one gap, resulting in exactly 1 byte overflow. The function is reachable from the public zbarscanimage() API in a default build. The bytebuftext allocation at line 219 uses the same undersized calculation but is not practically exploitable because it only holds raw byte data (at most sactext/4 bytes due to the 4x expansion factor in the size estimate). Version 0.23.93 and the current master branch are affected; the code in qrdectxt.c has been unchanged since at least 2023. No upstream fix is available yet. Reporter: Calif.io, in collaboration with Anthropic. Reporter reference: ANT-2026-KY0E5WN8. PSIRT ticket: PSIRTSUPT-24186.

— Red Hat

Affected Software

8 affected components
ubuntu/zbar*
ubuntu/zbar*
ubuntu/zbar*
ubuntu/zbar*
ubuntu/zbar*
ubuntu/zbar*
ubuntu/zbar*
ubuntu/zbar*

Event History

Sep 22, 2026
Data Sourced
via Red Hat·08:25 AM
DescriptionSeverityAffected Software
Sep 23, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203