---
id: CVE-2026-88371
title: >-
  ZBar commit 2ea2ca58 contains an undefined-behavior vulnerability in the Code
  128 decode6() function
summary: >-
  ZBar commit 2ea2ca58 contains an undefined-behavior vulnerability in the Code
  128 decode6() function. When processing specially crafted Code 128 input,
  decode_e() can return -1 for an invalid edge pattern, and decode6()
  subsequently left…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-682
published: '2026-09-24'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T18:16:57.523'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88371'
references:
  - url: 'https://github.com/mchehab/zbar/issues/336'
    label: cve@mitre.org
  - url: 'https://github.com/mchehab/zbar/issues/336'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00161
epssPercentile: 0.05261
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-06T15:41:48.800706Z'
ingestedAt: '2026-09-24T16:47:15.826Z'
---

## Overview

ZBar commit 2ea2ca58 contains an undefined-behavior vulnerability in the Code 128 decode6() function. When processing specially crafted Code 128 input, decode_e() can return -1 for an invalid edge pattern, and decode6() subsequently left-shifts this negative signed value while constructing the edge signature. The operation invokes undefined behavior and can terminate trap-mode UBSan builds with SIGILL, resulting in denial of service.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
