Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-12913

In Miniz 2.0.7, tinfl_decompress in miniz_tinfl.c has an infinite loop because sym2 and counter can both remain equal to zero.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-12913
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:26 UTC · Revision 1

Source evidence

CVE-2018-12913

core-osv · Original source

Published 27 Jun 2018, 18:29 UTC

In Miniz 2.0.7, tinfl_decompress in miniz_tinfl.c has an infinite loop because sym2 and counter can both remain equal to zero.

osv:CVE-2018-12913
Complete source record
{
  "id": "3fee18aaab00844700b2a72c2636f5d9eb870f399a1f0a215866b1e45bfcb5c8",
  "url": "https://osv.dev/vulnerability/CVE-2018-12913",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-12913",
    "summary": "In Miniz 2.0.7, tinfl_decompress in miniz_tinfl.c has an infinite loop because sym2 and counter can both remain equal to zero.",
    "evidence": "osv:CVE-2018-12913",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-12913",
      "aliases": [
        "CVE-2018-12913"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/richgel999/miniz",
              "type": "GIT",
              "events": [
                {
                  "introduced": "36b6c99f622a61b7f97d0238461d4d723aa1322b"
                },
                {
                  "last_affected": "36b6c99f622a61b7f97d0238461d4d723aa1322b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:miniz_project:miniz:2.0.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.7"
                      },
                      {
                        "last_affected": "2.0.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12913.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:19.280927726Z",
      "provider": "osv",
      "references": [
        "https://github.com/richgel999/miniz/issues/90"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-12913",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381532,
  "published_at": "2018-06-27T18:29:00.257+00:00"
}