Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-7863

FFmpeg before 2017-02-04 has an out-of-bounds write caused by a heap-based buffer overflow related to the decode_frame_common function in libavcodec/pngdec.c.

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

Source evidence

CVE-2017-7863

core-osv · Original source

Published 14 Apr 2017, 04:59 UTC

FFmpeg before 2017-02-04 has an out-of-bounds write caused by a heap-based buffer overflow related to the decode_frame_common function in libavcodec/pngdec.c.

osv:CVE-2017-7863
Complete source record
{
  "id": "a61116a7ae349b7cb6a4ac7f1b316bfc66a10c90469e054072f78b8897bfe3e3",
  "url": "https://osv.dev/vulnerability/CVE-2017-7863",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-7863",
    "summary": "FFmpeg before 2017-02-04 has an out-of-bounds write caused by a heap-based buffer overflow related to the decode_frame_common function in libavcodec/pngdec.c.",
    "evidence": "osv:CVE-2017-7863",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-7863",
      "aliases": [
        "CVE-2017-7863"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.ffmpeg.org/ffmpeg.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "16c0d8aa46b6a206d14f1d1010b7487809d54e5f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.8.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "n2.8.10",
            "n2.8.9",
            "n2.8.8",
            "n2.8.7",
            "n2.8.6",
            "n2.8.5",
            "n2.8.4",
            "n2.8.3",
            "n2.8.2",
            "n2.8.1",
            "n2.8",
            "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-2017-7863.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ffmpeg/ffmpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "16c0d8aa46b6a206d14f1d1010b7487809d54e5f"
                },
                {
                  "fixed": "e477f09d0b3619f3d29173b2cd593e17e2d1978e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.8.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e477f09d0b3619f3d29173b2cd593e17e2d1978e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "n2.8.10",
            "n2.8.9",
            "n3.3-dev",
            "n2.8.8",
            "n2.8.7",
            "n3.2-dev",
            "n3.1-dev",
            "n2.8.6",
            "n2.8.5",
            "n2.8.4",
            "n2.8.3",
            "n2.8.2",
            "n2.8.1",
            "n2.8",
            "n2.9-dev",
            "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-2017-7863.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-7863-0d294038",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "282977772222839905854240064943096062902",
                    "278148970362855129459247544722225696339",
                    "298380413604141503923794206437050241987",
                    "143259991541676878253750557310545517575",
                    "86856997118619733223480574003708215738",
                    "87341394385815980187858661066954617682",
                    "104447325692181378297223751637690104946",
                    "310201155084108673074383458679907859396",
                    "267580968104183235900814774202952633795",
                    "160113816113473237607329907433764805782"
                  ]
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/e477f09d0b3619f3d29173b2cd593e17e2d1978e",
                "target": {
                  "file": "libavcodec/pngdec.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-7863-86a15797",
                "digest": {
                  "length": 1028,
                  "function_hash": "185143868364516893484784678909185451635"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/e477f09d0b3619f3d29173b2cd593e17e2d1978e",
                "target": {
                  "file": "libavcodec/pngdec.c",
                  "function": "decode_trns_chunk"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-7863-ec0be270",
                "digest": {
                  "length": 5444,
                  "function_hash": "88211801093252918589128175885575646148"
                },
                "source": "https://github.com/ffmpeg/ffmpeg/commit/e477f09d0b3619f3d29173b2cd593e17e2d1978e",
                "target": {
                  "file": "libavcodec/pngdec.c",
                  "function": "decode_frame_common"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:05:37Z"
          }
        }
      ],
      "modified": "2026-10-24T14:05:37.612642430Z",
      "provider": "osv",
      "references": [
        "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=546",
        "https://lists.debian.org/debian-lts-announce/2019/02/msg00005.html",
        "https://github.com/FFmpeg/FFmpeg/commit/e477f09d0b3619f3d29173b2cd593e17e2d1978e"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-7863",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442986,
  "published_at": "2017-04-14T04:59:00.507+00:00"
}