ubuntu-cve-2021-27799
Vulnerability from osv_ubuntu
Published
2021-02-26 22:15
Modified
2026-05-20 14:53
Summary
Details

ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libzint2.10",
            "binary_version": "2.10.0-1"
          },
          {
            "binary_name": "zint",
            "binary_version": "2.10.0-1"
          },
          {
            "binary_name": "zint-qt",
            "binary_version": "2.10.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "zint",
        "purl": "pkg:deb/ubuntu/zint@2.10.0-1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.9.1-1.1",
        "2.10.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libzint2.13",
            "binary_version": "2.13.0-1build3"
          },
          {
            "binary_name": "zint",
            "binary_version": "2.13.0-1build3"
          },
          {
            "binary_name": "zint-qt",
            "binary_version": "2.13.0-1build3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "zint",
        "purl": "pkg:deb/ubuntu/zint@2.13.0-1build3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.12.0-1",
        "2.13.0-1",
        "2.13.0-1build2",
        "2.13.0-1build3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libzint2.15",
            "binary_version": "2.15.0-1"
          },
          {
            "binary_name": "zint",
            "binary_version": "2.15.0-1"
          },
          {
            "binary_name": "zint-qt",
            "binary_version": "2.15.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "zint",
        "purl": "pkg:deb/ubuntu/zint@2.15.0-1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.13.0-1build3",
        "2.15.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libzint2.15",
            "binary_version": "2.15.0-1build1"
          },
          {
            "binary_name": "zint",
            "binary_version": "2.15.0-1build1"
          },
          {
            "binary_name": "zint-qt",
            "binary_version": "2.15.0-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "zint",
        "purl": "pkg:deb/ubuntu/zint@2.15.0-1build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.15.0-1",
        "2.15.0-1build1"
      ]
    }
  ],
  "aliases": [],
  "details": "ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.",
  "id": "UBUNTU-CVE-2021-27799",
  "modified": "2026-05-20T14:53:12Z",
  "published": "2021-02-26T22:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-27799"
    },
    {
      "type": "REPORT",
      "url": "https://sourceforge.net/p/zint/tickets/218/"
    },
    {
      "type": "REPORT",
      "url": "https://sourceforge.net/p/zint/code/ci/7f8c8114f31c09a986597e0ba63a49f96150368a/"
    },
    {
      "type": "REPORT",
      "url": "http://zint.org.uk/Manual.aspx?type=p\u0026page=3"
    },
    {
      "type": "REPORT",
      "url": "http://zint.org.uk/Manual.aspx?type=p\u0026page=4"
    },
    {
      "type": "REPORT",
      "url": "http://zint.org.uk/Manual.aspx?type=p\u0026page=5"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-27799"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-27799"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…