Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: 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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-40890
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:27 UTC · Revision 1

Source evidence

CVE-2023-40890

core-osv · Original source

Published 29 Aug 2023, 00:00 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:CVE-2023-40890
Complete source record
{
  "id": "d7434c13c544a27d279d6905241fb399c32e3210efb9772a7e4ee4ca8d9880d4",
  "url": "https://osv.dev/vulnerability/CVE-2023-40890",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "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:CVE-2023-40890",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-40890",
      "aliases": [
        "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": [
            {
              "repo": "https://github.com/mchehab/zbar",
              "type": "GIT",
              "events": [
                {
                  "introduced": "24e9739746b6f5bf2bca15ccdb47210a76153a77"
                },
                {
                  "last_affected": "24e9739746b6f5bf2bca15ccdb47210a76153a77"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:zbar_project:zbar:0.23.90:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.23.90"
                      },
                      {
                        "last_affected": "0.23.90"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.23.90"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40890.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.809434879Z",
      "provider": "osv",
      "references": [
        "https://hackmd.io/%40cspl/H1PxPAUnn",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DC7V5YCLCPB36J2KY6WLZCABFLBRB665/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40890.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25LZZQJGGZRPLKTRNRNOTAFQJIPS7WRP/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DC7V5YCLCPB36J2KY6WLZCABFLBRB665/",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-40890",
        "https://lists.debian.org/debian-lts-announce/2023/12/msg00001.html"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40890.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-40890",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501130,
  "published_at": "2023-08-29T00:00:00+00:00"
}