Skip to content
Heist/ feed
Back to feed
Low

Gdk-pixbuf: uninitialized memory disclosure in gdkpixbuf gif lzw decoder

Type: advisorySources: OSV

A flaw was found in the GIF parser of GdkPixbuf’s LZW decoder. When an invalid symbol is encountered during decompression, the decoder sets the reported output size to the full buffer length rather than the actual number of written bytes. This logic error results in uninitialized sections of the buffer being included in the output, potentially leaking arbitrary memory contents in the processed image.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-6199
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:19 UTC · Revision 1

Source evidence

Gdk-pixbuf: uninitialized memory disclosure in gdkpixbuf gif lzw decoder

core-osv · Original source

Published 17 Jun 2025, 14:30 UTC

A flaw was found in the GIF parser of GdkPixbuf’s LZW decoder. When an invalid symbol is encountered during decompression, the decoder sets the reported output size to the full buffer length rather than the actual number of written bytes. This logic error results in uninitialized sections of the buffer being included in the output, potentially leaking arbitrary memory contents in the processed image.

osv:CVE-2025-6199
Complete source record
{
  "id": "59e9ab3a854ee600e8cef0a6af21f02e0c90d62a4abbd0d097912b5787e07aa0",
  "url": "https://osv.dev/vulnerability/CVE-2025-6199",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gdk-pixbuf: uninitialized memory disclosure in gdkpixbuf gif lzw decoder",
    "summary": "A flaw was found in the GIF parser of GdkPixbuf’s LZW decoder. When an invalid symbol is encountered during decompression, the decoder sets the reported output size to the full buffer length rather than the actual number of written bytes. This logic error results in uninitialized sections of the buffer being included in the output, potentially leaking arbitrary memory contents in the processed image.",
    "evidence": "osv:CVE-2025-6199",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-6199",
      "aliases": [
        "CVE-2025-6199"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.gnome.org/gnome/gdk-pixbuf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0714dd66124139e187eb58f3de6ec4de0753d921"
                },
                {
                  "fixed": "dba085b0d58435808c49279f9fb3f08e07d43541"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.43.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnome:gdkpixbuf:2.0.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0-NA"
                      },
                      {
                        "last_affected": "2.0.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.0-NA"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6199.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.192093798Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://lists.debian.org/debian-lts-announce/2025/06/msg00023.html",
        "https://access.redhat.com/security/cve/CVE-2025-6199",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6199.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-6199",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2373147",
        "https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/257",
        "https://gitlab.gnome.org/GNOME/gdk-pixbuf/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "redhat",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6199.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-6199",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508992,
  "published_at": "2025-06-17T14:30:42.665+00:00"
}