Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-12980

In Ming (aka libming) 0.4.8, there is an integer overflow (caused by an out-of-range left shift) in the SWFInput_readSBits function in blocks/input.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted swf file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-12980
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:28 UTC · Revision 1

Source evidence

CVE-2019-12980

core-osv · Original source

Published 26 Jun 2019, 18:15 UTC

In Ming (aka libming) 0.4.8, there is an integer overflow (caused by an out-of-range left shift) in the SWFInput_readSBits function in blocks/input.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted swf file.

osv:CVE-2019-12980
Complete source record
{
  "id": "252fb63734c6148f6989e407dac321e56ca4e7a18aa5b3f6a63b59ad87a8a530",
  "url": "https://osv.dev/vulnerability/CVE-2019-12980",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-12980",
    "summary": "In Ming (aka libming) 0.4.8, there is an integer overflow (caused by an out-of-range left shift) in the SWFInput_readSBits function in blocks/input.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted swf file.",
    "evidence": "osv:CVE-2019-12980",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-12980",
      "aliases": [
        "CVE-2019-12980"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libming/libming",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b72cc2fda0e8b3792b7b3f7361fc3f917f269433"
                },
                {
                  "last_affected": "b72cc2fda0e8b3792b7b3f7361fc3f917f269433"
                },
                {
                  "fixed": "a009a38dce1d9316cad1ab522b813b1d5ba4c62a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libming:libming:0.4.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.4.8"
                      },
                      {
                        "last_affected": "0.4.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a009a38dce1d9316cad1ab522b813b1d5ba4c62a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.4.8",
            "ming-0_4_8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12980.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-12980-53dc32a7",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "101575948601198617975155812360691369278",
                    "79475125737318447383431264963497545081",
                    "146037434988223561824191017213585945116",
                    "313675673828000457811548392849013155960"
                  ]
                },
                "source": "https://github.com/libming/libming/commit/a009a38dce1d9316cad1ab522b813b1d5ba4c62a",
                "target": {
                  "file": "src/blocks/input.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12980-c679514e",
                "digest": {
                  "length": 173,
                  "function_hash": "313916400522182159009313822647180963292"
                },
                "source": "https://github.com/libming/libming/commit/a009a38dce1d9316cad1ab522b813b1d5ba4c62a",
                "target": {
                  "file": "src/blocks/input.c",
                  "function": "SWFInput_readSBits"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:39:49Z"
          }
        }
      ],
      "modified": "2026-10-20T13:39:49.071386415Z",
      "provider": "osv",
      "references": [
        "https://github.com/libming/libming/commit/a009a38dce1d9316cad1ab522b813b1d5ba4c62a"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-12980",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387920,
  "published_at": "2019-06-26T18:15:10.48+00:00"
}