Skip to content
Heist/ feed
Back to feed
CriticalFix available

zbar — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-40890

A stack-based buffer overflow vulnerability exists in the lookup_sequence function of ZBar 0.23.90. Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner.

Products
zbar
Affected versions
0.23.92-7
Fixed versions
0.23.92-7+deb12u1, 0.23.92-9
CVEs
CVE-2023-40890
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:57 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-40890

core-osv · Original source

Published 29 Aug 2023, 17:15 UTC

A stack-based buffer overflow vulnerability exists in the lookup_sequence function of ZBar 0.23.90. Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner.

osv:DEBIAN-CVE-2023-40890

zbar

Fixed versions: 0.23.92-7+deb12u1

zbar

Fixed versions: 0.23.92-9

zbar

Fixed versions: 0.23.92-9

Complete source record
{
  "id": "27b7359685e7141090812da25a56c9fbf86c3208b9d238b7dcc19eae3930e463",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-40890",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-40890",
    "summary": "A stack-based buffer overflow vulnerability exists in the lookup_sequence function of ZBar 0.23.90. Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner.",
    "evidence": "osv:DEBIAN-CVE-2023-40890",
    "products": [
      {
        "name": {
          "value": "zbar",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.23.92-7+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.23.92-7",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zbar",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.23.92-9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "zbar",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.23.92-9",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2023-40890",
      "aliases": [
        "DEBIAN-CVE-2023-40890"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.23.92-7+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "zbar",
            "purl": "pkg:deb/debian/zbar?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.23.92-7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-40890.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.23.92-9"
                }
              ]
            }
          ],
          "package": {
            "name": "zbar",
            "purl": "pkg:deb/debian/zbar?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-40890.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.23.92-9"
                }
              ]
            }
          ],
          "package": {
            "name": "zbar",
            "purl": "pkg:deb/debian/zbar?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-40890.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:32.448518550Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-40890"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-40890"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-40890",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 456208,
  "published_at": "2023-08-29T17:15:12.917+00:00"
}