UBUNTU-CVE-2026-121942 (CVE-2026-121942)
Vulnerability from osv_ubuntu – Published: 2026-11-04 13:17 – Updated: 2026-11-24 10:51 – Source website
VLAI
Details
ZBar through 0.23.95 contains an out-of-bounds read vulnerability in _zbar_sq_decode() 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.
Severity
6.1 (Medium)
N/A (UNKNOWN)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.10+doc-9ubuntu0.14.04.1~esm1"
},
{
"binary_name": "libzbar0",
"binary_version": "0.10+doc-9ubuntu0.14.04.1~esm1"
},
{
"binary_name": "libzbargtk0",
"binary_version": "0.10+doc-9ubuntu0.14.04.1~esm1"
},
{
"binary_name": "libzbarqt0",
"binary_version": "0.10+doc-9ubuntu0.14.04.1~esm1"
},
{
"binary_name": "python-zbar",
"binary_version": "0.10+doc-9ubuntu0.14.04.1~esm1"
},
{
"binary_name": "python-zbarpygtk",
"binary_version": "0.10+doc-9ubuntu0.14.04.1~esm1"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.10+doc-9ubuntu0.14.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.10+doc-9ubuntu0.14.04.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10+doc-9",
"0.10+doc-9build1",
"0.10+doc-9ubuntu0.14.04.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.10+doc-10ubuntu1+esm1"
},
{
"binary_name": "libzbar0",
"binary_version": "0.10+doc-10ubuntu1+esm1"
},
{
"binary_name": "libzbargtk0",
"binary_version": "0.10+doc-10ubuntu1+esm1"
},
{
"binary_name": "libzbarqt0",
"binary_version": "0.10+doc-10ubuntu1+esm1"
},
{
"binary_name": "python-zbar",
"binary_version": "0.10+doc-10ubuntu1+esm1"
},
{
"binary_name": "python-zbarpygtk",
"binary_version": "0.10+doc-10ubuntu1+esm1"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.10+doc-10ubuntu1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.10+doc-10ubuntu1+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10+doc-10build1",
"0.10+doc-10build2",
"0.10+doc-10ubuntu1",
"0.10+doc-10ubuntu1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.10+doc-10.1ubuntu0.1~esm1"
},
{
"binary_name": "libzbar0",
"binary_version": "0.10+doc-10.1ubuntu0.1~esm1"
},
{
"binary_name": "libzbargtk0",
"binary_version": "0.10+doc-10.1ubuntu0.1~esm1"
},
{
"binary_name": "libzbarqt0",
"binary_version": "0.10+doc-10.1ubuntu0.1~esm1"
},
{
"binary_name": "python-zbar",
"binary_version": "0.10+doc-10.1ubuntu0.1~esm1"
},
{
"binary_name": "python-zbarpygtk",
"binary_version": "0.10+doc-10.1ubuntu0.1~esm1"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.10+doc-10.1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.10+doc-10.1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10+doc-10.1build2",
"0.10+doc-10.1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
},
{
"binary_name": "libzbar0",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
},
{
"binary_name": "libzbargtk0",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
},
{
"binary_name": "libzbarqt0",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
},
{
"binary_name": "python3-zbar",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
},
{
"binary_name": "zbarcam-gtk",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
},
{
"binary_name": "zbarcam-qt",
"binary_version": "0.23-1.3ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.23-1.3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.23-1.1",
"0.23-1.2",
"0.23-1.3",
"0.23-1.3ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
},
{
"binary_name": "libzbar0",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
},
{
"binary_name": "libzbargtk0",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
},
{
"binary_name": "libzbarqt0",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
},
{
"binary_name": "python3-zbar",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
},
{
"binary_name": "zbarcam-gtk",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
},
{
"binary_name": "zbarcam-qt",
"binary_version": "0.23.92-4ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.23.92-4ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.23.90-1",
"0.23.92-4",
"0.23.92-4build2",
"0.23.92-4ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gir1.2-zbar-1.0",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "libzbar0t64",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "libzbargtk0t64",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "libzbarqt0t64",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "python3-zbar",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "zbarcam-gtk",
"binary_version": "0.23.93-4build3"
},
{
"binary_name": "zbarcam-qt",
"binary_version": "0.23.93-4build3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.23.93-4build3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.23.92-8",
"0.23.92-9",
"0.23.93-1",
"0.23.93-1build1",
"0.23.93-4build1",
"0.23.93-4build2",
"0.23.93-4build3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gir1.2-zbar-1.0",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "libzbar0t64",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "libzbargtk0t64",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "libzbarqt0t64",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "python3-zbar",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "zbarcam-gtk",
"binary_version": "0.23.93-9ubuntu2"
},
{
"binary_name": "zbarcam-qt",
"binary_version": "0.23.93-9ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.23.93-9ubuntu2?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.23.93-9ubuntu1",
"0.23.93-9ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gir1.2-zbar-1.0",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "libbarcode-zbar-perl",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "libzbar0t64",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "libzbargtk0t64",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "libzbarqt0t64",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "python3-zbar",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "zbar-tools",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "zbarcam-gtk",
"binary_version": "0.23.93-9ubuntu1"
},
{
"binary_name": "zbarcam-qt",
"binary_version": "0.23.93-9ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "zbar",
"purl": "pkg:deb/ubuntu/zbar@0.23.93-9ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.23.93-8",
"0.23.93-9ubuntu1"
]
}
],
"aliases": [],
"details": "ZBar through 0.23.95 contains an out-of-bounds read vulnerability in _zbar_sq_decode() 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.",
"id": "UBUNTU-CVE-2026-121942",
"modified": "2026-11-24T10:51:27Z",
"published": "2026-11-04T13:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-121942"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-121942"
},
{
"type": "REPORT",
"url": "github.com/mchehab/zbar"
}
],
"related": [],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
"source": "CNA",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
"source": "CNA",
"type": "CVSS_V4"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-121942"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…