ubuntu-cve-2025-7345
Vulnerability from osv_ubuntu
Published
2025-07-08 14:15
Modified
2026-04-22 07:53
Summary
Details

A flaw exists in gdk‑pixbuf within the gdk_pixbuf__jpeg_image_load_increment function (io-jpeg.c) and in glib’s g_base64_encode_step (glib/gbase64.c). When processing maliciously crafted JPEG images, a heap buffer overflow can occur during Base64 encoding, allowing out-of-bounds reads from heap memory, potentially causing application crashes or arbitrary code execution.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "gir1.2-gdkpixbuf-2.0",
            "binary_version": "2.32.2-1ubuntu1.6+esm2"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-0",
            "binary_version": "2.32.2-1ubuntu1.6+esm2"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-common",
            "binary_version": "2.32.2-1ubuntu1.6+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "gdk-pixbuf",
        "purl": "pkg:deb/ubuntu/gdk-pixbuf@2.32.2-1ubuntu1.6+esm2?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.32.2-1ubuntu1.6+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.32.1-1",
        "2.32.2-1",
        "2.32.2-1ubuntu1",
        "2.32.2-1ubuntu1.2",
        "2.32.2-1ubuntu1.3",
        "2.32.2-1ubuntu1.4",
        "2.32.2-1ubuntu1.5",
        "2.32.2-1ubuntu1.6",
        "2.32.2-1ubuntu1.6+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "gir1.2-gdkpixbuf-2.0",
            "binary_version": "2.36.11-2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-0",
            "binary_version": "2.36.11-2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-bin",
            "binary_version": "2.36.11-2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-common",
            "binary_version": "2.36.11-2ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "gdk-pixbuf",
        "purl": "pkg:deb/ubuntu/gdk-pixbuf@2.36.11-2ubuntu0.1~esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.36.11-2ubuntu0.1~esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.36.11-1",
        "2.36.11-1ubuntu0.1",
        "2.36.11-2",
        "2.36.11-2ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "gir1.2-gdkpixbuf-2.0",
            "binary_version": "2.40.0+dfsg-3ubuntu0.5+esm1"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-0",
            "binary_version": "2.40.0+dfsg-3ubuntu0.5+esm1"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-bin",
            "binary_version": "2.40.0+dfsg-3ubuntu0.5+esm1"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-common",
            "binary_version": "2.40.0+dfsg-3ubuntu0.5+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "gdk-pixbuf",
        "purl": "pkg:deb/ubuntu/gdk-pixbuf@2.40.0+dfsg-3ubuntu0.5+esm1?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.40.0+dfsg-3ubuntu0.5+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.40.0+dfsg-1build1",
        "2.40.0+dfsg-1ubuntu1",
        "2.40.0+dfsg-2",
        "2.40.0+dfsg-3",
        "2.40.0+dfsg-3ubuntu0.1",
        "2.40.0+dfsg-3ubuntu0.2",
        "2.40.0+dfsg-3ubuntu0.3",
        "2.40.0+dfsg-3ubuntu0.4",
        "2.40.0+dfsg-3ubuntu0.5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gdk-pixbuf-tests",
            "binary_version": "2.42.8+dfsg-1ubuntu0.4"
          },
          {
            "binary_name": "gir1.2-gdkpixbuf-2.0",
            "binary_version": "2.42.8+dfsg-1ubuntu0.4"
          },
          {
            "binary_name": "libgdk-pixbuf-2.0-0",
            "binary_version": "2.42.8+dfsg-1ubuntu0.4"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-bin",
            "binary_version": "2.42.8+dfsg-1ubuntu0.4"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-common",
            "binary_version": "2.42.8+dfsg-1ubuntu0.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "gdk-pixbuf",
        "purl": "pkg:deb/ubuntu/gdk-pixbuf@2.42.8+dfsg-1ubuntu0.4?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.42.8+dfsg-1ubuntu0.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.42.6+dfsg-1build2",
        "2.42.6+dfsg-1build3",
        "2.42.6+dfsg-2ubuntu2",
        "2.42.6+dfsg-2ubuntu3",
        "2.42.8+dfsg-1",
        "2.42.8+dfsg-1ubuntu0.1",
        "2.42.8+dfsg-1ubuntu0.2",
        "2.42.8+dfsg-1ubuntu0.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gdk-pixbuf-tests",
            "binary_version": "2.42.10+dfsg-3ubuntu3.2"
          },
          {
            "binary_name": "gir1.2-gdkpixbuf-2.0",
            "binary_version": "2.42.10+dfsg-3ubuntu3.2"
          },
          {
            "binary_name": "libgdk-pixbuf-2.0-0",
            "binary_version": "2.42.10+dfsg-3ubuntu3.2"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-bin",
            "binary_version": "2.42.10+dfsg-3ubuntu3.2"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-common",
            "binary_version": "2.42.10+dfsg-3ubuntu3.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "gdk-pixbuf",
        "purl": "pkg:deb/ubuntu/gdk-pixbuf@2.42.10+dfsg-3ubuntu3.2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.42.10+dfsg-3ubuntu3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.42.10+dfsg-1build1",
        "2.42.10+dfsg-3",
        "2.42.10+dfsg-3ubuntu1",
        "2.42.10+dfsg-3ubuntu2",
        "2.42.10+dfsg-3ubuntu3",
        "2.42.10+dfsg-3ubuntu3.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gdk-pixbuf-tests",
            "binary_version": "2.42.12+dfsg-4build1"
          },
          {
            "binary_name": "gir1.2-gdkpixbuf-2.0",
            "binary_version": "2.42.12+dfsg-4build1"
          },
          {
            "binary_name": "libgdk-pixbuf-2.0-0",
            "binary_version": "2.42.12+dfsg-4build1"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-bin",
            "binary_version": "2.42.12+dfsg-4build1"
          },
          {
            "binary_name": "libgdk-pixbuf2.0-common",
            "binary_version": "2.42.12+dfsg-4build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "gdk-pixbuf",
        "purl": "pkg:deb/ubuntu/gdk-pixbuf@2.42.12+dfsg-4build1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.42.12+dfsg-4build1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.42.12+dfsg-2",
        "2.42.12+dfsg-3"
      ]
    }
  ],
  "aliases": [],
  "details": "A flaw exists in gdk\u2011pixbuf within the gdk_pixbuf__jpeg_image_load_increment function (io-jpeg.c) and in glib\u2019s g_base64_encode_step (glib/gbase64.c). When processing maliciously crafted JPEG images, a heap buffer overflow can occur during Base64 encoding, allowing out-of-bounds reads from heap memory, potentially causing application crashes or arbitrary code execution.",
  "id": "UBUNTU-CVE-2025-7345",
  "modified": "2026-04-22T07:53:19Z",
  "published": "2025-07-08T14:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-7345"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-7345"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2025-7345"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2377063"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7662-1"
    }
  ],
  "related": [
    "USN-7662-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-7345"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…