Search

Find a vulnerability

Search criteria

    1 vulnerability found for ffmpeg by ffmpeg

    GCVE-1-2026-0002

    Vulnerability from gna-1 – Published: 2026-01-02 19:50 – Updated: 2026-01-02 20:05
    VLAI
    Title
    Heap-buffer-overflow in EXIF writer for extra IFD tags
    Summary
    Heap-buffer-overflow in EXIF writer for extra IFD tags | Pwno We recently found a cool four-bytes heap-buffer-overflow in FFmpeg's `avcodec/exif` during the processing of IFDs _(Image File Directory)._ This affects `.png`, `.jpg`, `.webp`, `.avif` … the formats we use most often. The cause of this bug is very interesting, and I don’t want to spoil it here; I want you to find out. It’s also a short in-depth dive of FFmpeg internal workings of EXIFs, something we use so often. So even if you’re not really into memory bugs, this can be a cool way to learn how it works under the hood.
    CWE
    • CWE-122 - Heap-based Buffer Overflow
    Assigner
    References
    Impacted products
    Relationships

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "ffmpeg",
              "vendor": "ffmpeg",
              "versions": [
                {
                  "status": "affected"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003ch1\u003eHeap-buffer-overflow in EXIF writer for extra IFD tags | Pwno\u003c/h1\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003eWe recently found a cool four-bytes heap-buffer-overflow in FFmpeg\u0027s `avcodec/exif` during the processing of IFDs _(Image File Directory)._ This affects `.png`, `.jpg`, `.webp`, `.avif` \u2026 the formats we use most often. The cause of this bug is very interesting, and I don\u2019t want to spoil it here; I want you to find out.\u003cbr\u003e\u003cbr\u003eIt\u2019s also a short in-depth dive of FFmpeg internal workings of EXIFs, something we use so often. So even if you\u2019re not really into memory bugs, this can be a cool way to learn how it works under the hood.\u003cbr\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cbr\u003e"
                }
              ],
              "value": "Heap-buffer-overflow in EXIF writer for extra IFD tags | Pwno\n\n\nWe recently found a cool four-bytes heap-buffer-overflow in FFmpeg\u0027s `avcodec/exif` during the processing of IFDs _(Image File Directory)._ This affects `.png`, `.jpg`, `.webp`, `.avif` \u2026 the formats we use most often. The cause of this bug is very interesting, and I don\u2019t want to spoil it here; I want you to find out.\n\nIt\u2019s also a short in-depth dive of FFmpeg internal workings of EXIFs, something we use so often. So even if you\u2019re not really into memory bugs, this can be a cool way to learn how it works under the hood."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-100",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-100 Overflow Buffers"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 10,
                "baseSeverity": "CRITICAL",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "HIGH",
                "subConfidentialityImpact": "HIGH",
                "subIntegrityImpact": "HIGH",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-122",
                  "description": "CWE-122 Heap-based Buffer Overflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "orgId": "00000000-0000-4000-9000-000000000000"
          },
          "references": [
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://bugs.pwno.io/0014"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/FFmpeg/FFmpeg/commit/4bfac71ecd96488dd2dcd5649e08edb039a17a8b"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Heap-buffer-overflow in EXIF writer for extra IFD tags",
          "x_gcve": [
            {
              "recordType": "advisory",
              "vulnId": "gcve-1-2026-0002"
            }
          ],
          "x_generator": {
            "engine": "Vulnogram 0.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "00000000-0000-4000-9000-000000000000",
        "datePublished": "2026-01-02T19:50:00.000Z",
        "dateUpdated": "2026-01-02T20:05:27.269877Z",
        "requesterUserId": "00000000-0000-4000-9000-000000000000",
        "serial": 1,
        "state": "PUBLISHED",
        "vulnId": "GCVE-1-2026-0002",
        "vulnerabilitylookup_history": [
          [
            "alexandre.dulaunoy@circl.lu",
            "2026-01-02T19:50:03.961640Z"
          ],
          [
            "alexandre.dulaunoy@circl.lu",
            "2026-01-02T19:53:50.510087Z"
          ],
          [
            "alexandre.dulaunoy@circl.lu",
            "2026-01-02T20:05:27.269877Z"
          ]
        ]
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }