Buffer Under-read Affecting glib package, versions [,2.84.4)[2.85.0,2.85.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GLIB-12549232
  • published7 Sept 2025
  • disclosed2 Jul 2025
  • creditMichael Catanzaro

Introduced: 2 Jul 2025

CVE-2025-7039  (opens in a new tab)
CWE-127  (opens in a new tab)

How to fix?

Upgrade glib to version 2.84.4, 2.85.2 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Under-read via the get_tmp_file function of glib/gfileutils.c due to improper validation of file path lengths during temporary file operations. An attacker can manipulate file paths and access unauthorized data by supplying symbolic links that an affected application would follow.

CVSS Base Scores

version 4.0
version 3.1