{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.5.0"
                  },
                  {
                    "last_affected": "1.5.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          "events": [
            {
              "introduced": "1507800de4b70e21be71f38caa0d9079d0bc6e45"
            },
            {
              "last_affected": "1507800de4b70e21be71f38caa0d9079d0bc6e45"
            }
          ],
          "repo": "https://github.com/xiph/flac",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.5.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-401"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137081.json"
  },
  "details": "Xiph.Org libFLAC 1.5.0 contains a memory leak in FLAC__stream_encoder_finish() because free_() never releases the main thread task's frame bit writer buffer. Attackers submitting many audio streams to a long-running service that reuses one encoder can leak at least 32 KiB per stream, causing memory exhaustion.",
  "id": "CVE-2026-137081",
  "modified": "2026-11-25T20:45:28.134895210Z",
  "published": "2026-11-25T19:32:53.521Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137081.json"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mamedev/mame/issues/16742"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/xiph/flac"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L1280"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/xiph/flac/blob/1.5.0/src/libFLAC/stream_encoder.c#L2767"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xiph/flac/pull/948"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137081"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libflac-1.5.0-memory-leak-via-flac-stream-encoder-finish"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libFLAC 1.5.0 Memory Leak via FLAC__stream_encoder_finish"
}