CVE-2019-13012
CVE-2019-13012 is a high-severity vulnerability in Gnome Glib with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-732.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-732
- Affected product: Gnome Glib
- Published:
- Last modified:
Description
The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_file_make_directory_with_parents (kfsb->dir, NULL, NULL) and files using g_file_replace_contents (kfsb->file, contents, length, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, NULL). Consequently, it does not properly restrict directory (and file) permissions. Instead, for directories, 0777 permissions are used; for files, default file permissions are used. This is similar to CVE-2019-12450.
Frequently asked questions
- What is CVE-2019-13012?
- The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_file_make_directory_with_parents (kfsb->dir, NULL, NULL) and files using g_file_replace_contents (kfsb->file, contents, length, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, NULL). Consequently, it does not properly restrict directory (and file) permissions. Instead, for directories, 0777 permissions are used; for files, default file permissions are used. This is similar to CVE-2019-12450.
- How severe is CVE-2019-13012?
- CVE-2019-13012 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2019-13012 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2019-13012?
- CVE-2019-13012 affects Gnome Glib. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2019-13012?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2019-13012 published?
- CVE-2019-13012 was published on 2019-06-28 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00022.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931234#12
- https://gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429
- https://gitlab.gnome.org/GNOME/glib/issues/1658
- https://gitlab.gnome.org/GNOME/glib/merge_requests/450
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2019/07/msg00029.html
- https://lists.debian.org/debian-lts-announce/2019/08/msg00004.html
- https://security.netapp.com/advisory/ntap-20190806-0003/
- https://usn.ubuntu.com/4049-1/
- https://usn.ubuntu.com/4049-2/
Affected products (1)
- cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*
More vulnerabilities in Gnome Glib
- CVE-2024-52533 — Critical (CVSS 9.8): gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because…
- CVE-2019-12450 — Critical (CVSS 9.8): file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while…
- CVE-2018-16428 — Critical (CVSS 9.8): In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.
- CVE-2020-35457 — High (CVSS 7.8): GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in…
- CVE-2009-3289 — High (CVSS 7.8): The g_file_copy function in glib 2.0 sets the permissions of a target file to the permissions of a symbolic link (777),…
- CVE-2025-13601 — High (CVSS 7.7): A heap-based buffer overflow problem was found in glib through an incorrect calculation of buffer size in the…
All CVEs affecting Gnome Glib →
Other CWE-732 (Incorrect Permission Assignment for Critical Resource) vulnerabilities
- CVE-2026-9508 — Critical (CVSS 10.0): Incorrect permission settings on a critical resource in Suprema BioStar 2 (versions 2.9.3 through 2.9.11) that allow…
- CVE-2025-14988 — Critical (CVSS 10.0): A security issue has been identified in ibaPDA that could allow unauthorized actions on the file system under certain…
- CVE-2025-69426 — Critical (CVSS 10.0): The Ruckus vRIoT IoT Controller firmware versions prior to 3.0.0.0 (GA) contain hardcoded credentials for an operating…
- CVE-2025-12004 — Critical (CVSS 10.0): Incorrect Permission Assignment for Critical Resource vulnerability in The Wikimedia Foundation Mediawiki - Lockdown…
- CVE-2014-125121 — Critical (CVSS 10.0): Array Networks vAPV (version 8.3.2.17) and vxAG (version 9.2.0.34) appliances are affected by a privilege escalation…
- CVE-2025-46093 — Critical (CVSS 9.9): LiquidFiles before 4.1.2 supports FTP SITE CHMOD for mode 6777 (setuid and setgid), which allows FTPDrop users to…
Browse all CWE-732 (Incorrect Permission Assignment for Critical Resource) vulnerabilities →