Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-15822

The flv_write_packet function in libavformat/flvenc.c in FFmpeg through 2.8 does not check for an empty audio packet, leading to an assertion failure.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-15822
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:10 UTC · Revision 1

Source evidence

CVE-2018-15822

core-osv · Original source

Published 23 Aug 2018, 23:29 UTC

The flv_write_packet function in libavformat/flvenc.c in FFmpeg through 2.8 does not check for an empty audio packet, leading to an assertion failure.

osv:CVE-2018-15822
Complete source record
{
  "id": "c9b8ae4e4432efb26d1489d520743e22ff8a655bc508e7b84b02a97d45b1b3e1",
  "url": "https://osv.dev/vulnerability/CVE-2018-15822",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-15822",
    "summary": "The flv_write_packet function in libavformat/flvenc.c in FFmpeg through 2.8 does not check for an empty audio packet, leading to an assertion failure.",
    "evidence": "osv:CVE-2018-15822",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-15822",
      "aliases": [
        "CVE-2018-15822"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.ffmpeg.org/ffmpeg.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "58142a27ea96bf9246586a91a82db85e37646933"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "n2.8-dev",
            "n2.7-dev",
            "n2.6-dev",
            "n2.5-dev",
            "n2.4-dev",
            "n2.3-dev",
            "n2.2-dev",
            "n2.0",
            "n2.1-dev",
            "n1.3-dev",
            "n1.2-dev",
            "n1.1-dev",
            "n0.12-dev",
            "n0.11-dev",
            "n0.8",
            "N"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15822.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "58142a27ea96bf9246586a91a82db85e37646933"
                },
                {
                  "fixed": "6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10"
                },
                {
                  "fixed": "d8ecb335fe4852bbc172c7b79e66944d158b4d92"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d8ecb335fe4852bbc172c7b79e66944d158b4d92"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "n2.8-dev",
            "n2.7-dev",
            "n2.6-dev",
            "n2.5-dev",
            "n2.4-dev",
            "n2.3-dev",
            "n2.2-dev",
            "n2.0",
            "n2.1-dev",
            "n1.3-dev",
            "n1.2-dev",
            "n1.1-dev",
            "n0.12-dev",
            "n0.11-dev",
            "n0.8",
            "N"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15822.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-15822-61ede296",
                "digest": {
                  "length": 6210,
                  "function_hash": "126605493963002243786763878397979972170"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10",
                "target": {
                  "file": "libavformat/flvenc.c",
                  "function": "flv_write_packet"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-15822-b9efedaf",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "147193301791415461805923920078285621927",
                    "107193502165357748234612503756240350056",
                    "118428189102459771525930371230979065799"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/d8ecb335fe4852bbc172c7b79e66944d158b4d92",
                "target": {
                  "file": "libavformat/flvenc.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-15822-d9e7c24d",
                "digest": {
                  "length": 4678,
                  "function_hash": "130541370860603874332054497531241140893"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/d8ecb335fe4852bbc172c7b79e66944d158b4d92",
                "target": {
                  "file": "libavformat/flvenc.c",
                  "function": "flv_write_packet"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-15822-ff0209f6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "58527666524190152415447120377244757107",
                    "62013923509066486281990892171178753293",
                    "334080227211384791118196996465674911099"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10",
                "target": {
                  "file": "libavformat/flvenc.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:11:06Z"
          }
        }
      ],
      "modified": "2026-10-24T14:11:06.241520559Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/05/msg00043.html",
        "https://seclists.org/bugtraq/2019/May/60",
        "https://usn.ubuntu.com/3967-1/",
        "https://usn.ubuntu.com/4431-1/",
        "https://www.debian.org/security/2019/dsa-4449",
        "https://github.com/FFmpeg/FFmpeg/commit/6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10",
        "https://github.com/FFmpeg/FFmpeg/commit/d8ecb335fe4852bbc172c7b79e66944d158b4d92"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "18.10"
                  },
                  {
                    "last_affected": "18.10"
                  },
                  {
                    "introduced": "19.04"
                  },
                  {
                    "last_affected": "19.04"
                  },
                  {
                    "introduced": "20.04"
                  },
                  {
                    "last_affected": "20.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-15822",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443220,
  "published_at": "2018-08-23T23:29:00.247+00:00"
}