Skip to content
Heist/ feed
Back to feed
LowFix available

glib2.0 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-7039

A flaw was found in glib. An integer overflow during temporary file creation leads to an out-of-bounds memory access, allowing an attacker to potentially perform path traversal or access private temporary file content by creating symbolic links. This vulnerability allows a local attacker to manipulate file paths and access unauthorized data. The core issue stems from insufficient validation of file path lengths during temporary file operations.

Products
glib2.0
Affected versions
2.74.6-2, 2.74.6-2+deb12u1, 2.74.6-2+deb12u2, 2.74.6-2+deb12u3, 2.74.6-2+deb12u4, 2.74.6-2+deb12u5, 2.74.6-2+deb12u6, 2.84.3-1, 2.84.4-1, 2.84.4-2
Fixed versions
2.74.6-2+deb12u7, 2.84.4-1, 2.84.4-3~deb13u1
CVEs
CVE-2025-7039
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:37 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-7039

core-osv · Original source

Published 3 Sept 2025, 02:15 UTC

A flaw was found in glib. An integer overflow during temporary file creation leads to an out-of-bounds memory access, allowing an attacker to potentially perform path traversal or access private temporary file content by creating symbolic links. This vulnerability allows a local attacker to manipulate file paths and access unauthorized data. The core issue stems from insufficient validation of file path lengths during temporary file operations.

osv:DEBIAN-CVE-2025-7039

glib2.0

Fixed versions: 2.74.6-2+deb12u7

glib2.0

Fixed versions: 2.84.4-3~deb13u1

glib2.0

Fixed versions: 2.84.4-1

Complete source record
{
  "id": "904827bb8faeab8bc4a26f030162b90cfb250df1cd67798710c6dcfbb2eb66ad",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-7039",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-7039",
    "summary": "A flaw was found in glib. An integer overflow during temporary file creation leads to an out-of-bounds memory access, allowing an attacker to potentially perform path traversal or access private temporary file content by creating symbolic links. This vulnerability allows a local attacker to manipulate file paths and access unauthorized data. The core issue stems from insufficient validation of file path lengths during temporary file operations.",
    "evidence": "osv:DEBIAN-CVE-2025-7039",
    "products": [
      {
        "name": {
          "value": "glib2.0",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.74.6-2+deb12u7",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.74.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.74.6-2+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.74.6-2+deb12u2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.74.6-2+deb12u3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.74.6-2+deb12u4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.74.6-2+deb12u5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.74.6-2+deb12u6",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "glib2.0",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.84.4-3~deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.84.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.84.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.84.4-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "glib2.0",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.84.4-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.84.3-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2025-7039",
      "aliases": [
        "DEBIAN-CVE-2025-7039"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.74.6-2+deb12u7"
                }
              ]
            }
          ],
          "package": {
            "name": "glib2.0",
            "purl": "pkg:deb/debian/glib2.0?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.74.6-2",
            "2.74.6-2+deb12u1",
            "2.74.6-2+deb12u2",
            "2.74.6-2+deb12u3",
            "2.74.6-2+deb12u4",
            "2.74.6-2+deb12u5",
            "2.74.6-2+deb12u6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-7039.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.84.4-3~deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "glib2.0",
            "purl": "pkg:deb/debian/glib2.0?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2.84.3-1",
            "2.84.4-1",
            "2.84.4-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-7039.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.84.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "glib2.0",
            "purl": "pkg:deb/debian/glib2.0?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.84.3-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-7039.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:26.142241514Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-7039"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-7039"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-7039",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 416907,
  "published_at": "2025-09-03T02:15:38.12+00:00"
}