CVE-2025-7039: Glib: buffer under-read on glib through glib/gfileutils.c via get_tmp_file()
Noroxi assessment
Priority: Monitor (action score 14/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.41% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: azl3 glib 2.78.6-3 on Azure Linux 3.0 2.78.6-4; azl3 glib 2.78.6-4 on Azure Linux 3.0 2.78.6-4; cbl2 glib 2.71.0-6 on CBL Mariner 2.0 2.71.0-6.
Low priority for now. Upgrade to azl3 glib 2.78.6-3 on Azure Linux 3.0 2.78.6-4; azl3 glib 2.78.6-4 on Azure Linux 3.0 2.78.6-4; cbl2 glib 2.71.0-6 on CBL Mariner 2.0 2.71.0-6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 3, 2025
- Updated
- Oct 18, 2026
- EPSS
- 0.4% · 35th percentile
- CWE
- CWE-22
Report tools
Action score
14
Monitor
Low priority for now.
- CVSS
- 14 / 40 · 3.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 3.7
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 10
- all versionsaffected
- all versionsaffected
- all versionsaffected
- all versionsaffected
- all versionsaffected
- all versionsaffected
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8
- all versionsunknown
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 9
- all versionsunknown
- all versionsunknown
- all versionsunknown
- all versionsunknown
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | glib2.0 | before 2.66.8-1+deb11u7 | 2.66.8-1+deb11u7 |
| Debian:12 | glib2.0 | before 2.74.6-2+deb12u7 | 2.74.6-2+deb12u7 |
| Debian:13 | glib2.0 | before 2.84.4-3~deb13u1 | 2.84.4-3~deb13u1 |
| Debian:14 | glib2.0 | before 2.84.4-1 | 2.84.4-1 |
| openSUSE:Leap 15.6 | glib2 | before 2.78.6-150600.4.22.1 | 2.78.6-150600.4.22.1 |
| openSUSE:Leap 15.6 | glib2-doc | before 2.78.6-150600.4.22.1 | 2.78.6-150600.4.22.1 |
| openSUSE:Leap 16.0 | glib2 | before 2.84.4-160000.1.1 | 2.84.4-160000.1.1 |
| openSUSE:Leap 16.0 | glib2-doc | before 2.84.4-160000.1.1 | 2.84.4-160000.1.1 |
| openSUSE:Tumbleweed | glib2 | before 2.84.4-1.1 | 2.84.4-1.1 |
| Red Hat:hummingbird:1 | glib2 | before 0:2.88.0-1.1.hum1 | 0:2.88.0-1.1.hum1 |
| Red Hat:hummingbird:1 | glib2-devel | before 0:2.88.0-1.1.hum1 | 0:2.88.0-1.1.hum1 |
| Red Hat:hummingbird:1 | glib2-doc | before 0:2.88.0-1.1.hum1 | 0:2.88.0-1.1.hum1 |
| Red Hat:hummingbird:1 | glib2-static | before 0:2.88.0-1.1.hum1 | 0:2.88.0-1.1.hum1 |
| Red Hat:hummingbird:1 | glib2-tests | before 0:2.88.0-1.1.hum1 | 0:2.88.0-1.1.hum1 |
| SUSE:Linux Enterprise Micro 5.2 | glib2 | before 2.62.6-150200.3.33.1 | 2.62.6-150200.3.33.1 |
| SUSE:Linux Enterprise Micro 5.3 | glib2 | before 2.70.5-150400.3.26.1 | 2.70.5-150400.3.26.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | glib2 | before 2.78.6-150600.4.22.1 | 2.78.6-150600.4.22.1 |
| SUSE:Linux Enterprise Server 16.0 | glib2 | before 2.84.4-160000.1.1 | 2.84.4-160000.1.1 |
| SUSE:Linux Enterprise Server 16.0 | glib2-branding-SLE | before 16-160000.2.2 | 16-160000.2.2 |
| SUSE:Linux Enterprise Server 16.0 | glib2-doc | before 2.84.4-160000.1.1 | 2.84.4-160000.1.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | glib2 | before 2.48.2-12.49.1 | 2.48.2-12.49.1 |
| SUSE:Linux Micro 6.0 | glib2 | before 2.76.2-10.1 | 2.76.2-10.1 |
| SUSE:Linux Micro 6.1 | glib2 | before 2.78.6-slfo.1.1_5.1 | 2.78.6-slfo.1.1_5.1 |
Same product
red hat: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-10230Samba: command injection in wins server hook script52Plan
- CVE-2026-4631Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection44Plan
- CVE-2026-76578Ipa: freeipa: freeipa: unauthenticated ldap client can obtain administrator credentials via the self-managed-token aci39Monitor
Published before and after this one in the same product
- ← EarlierCVE-2023-32255Aug 2, 2025 · Kernel: memory leak via ksmbd session setup request with unknown ntlmssp message type21Monitor
- ← EarlierCVE-2023-5342Aug 14, 2025 · Shim: expired secure boot certificate16Monitor
- Later →CVE-2025-9901Sep 3, 2025 · Libsoup: improper handling of http vary header in libsoup caching23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 glib 2.78.6-3 on Azure Linux 3.0 | 2.78.6-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 glib 2.78.6-4 on Azure Linux 3.0 | 2.78.6-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 glib 2.71.0-6 on CBL Mariner 2.0 | 2.71.0-6 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 glib 2.71.0-7 on CBL Mariner 2.0 | 2.71.0-8 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:glib2.0 | 2.74.6-2+deb12u7 · Debian:12 | Package registry (OSV) |
| opensuse:glib2 | 2.78.6-150600.4.22.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:glib2-doc | 2.78.6-150600.4.22.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:glib2 | 0:2.88.0-1.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:glib2-devel | 0:2.88.0-1.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:glib2-doc | 0:2.88.0-1.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:glib2-static | 0:2.88.0-1.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:glib2-tests | 0:2.88.0-1.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| suse:glib2 | 2.78.6-150600.4.22.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:glib2 | 2.78.6-slfo.1.1_5.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:glib2-branding-SLE | 16-160000.2.2 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:glib2-doc | 2.84.4-160000.1.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-96275385 days apartFlatpak: flatpak: arbitrary write access as root via extra-data extraction35Monitor
- CVE-2025-95662 days apartPodman: podman kube play command may overwrite host files32Monitor
- CVE-2025-602078 days apartLinux-pam: linux-pam directory traversal31Monitor
- CVE-2026-96276385 days apartFlatpak: flatpak: arbitrary write in host context via flatpak build-init26Monitor
- CVE-2026-107466400 days apartFlatpak-builder: local file exfiltration via `file24Monitor
- CVE-2026-85518413 days apartOpenscap: openscap: arbitrary file write via path traversal in source datastream decomposition24Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- low · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
nvd-secondary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.