Home / Gnome / Glib / CVE-2019-13012
CVE-2019-13012: is it exploited, and which versions of Gnome Glib are affected and fixed?
CVE-2019-13012 is an incorrect permissions on a critical resource vulnerability in Gnome Glib. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: glib from 2.0.0 before 2.59.1 (NVD). Fixed in 2.59.1 (NVD). Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:21 UTC.
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.
From the CVE record by mitre, last updated August 4, 2024, 23:41 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnome | glib | from 2.0.0 before 2.59.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:15 UTC.
How severe is CVE-2019-13012?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-13012 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.24% probability of exploitation activity in the next 30 days, percentile 88.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-732 Incorrect Permission Assignment for Critical Resource
Where are the vendor advisories and references?
- https://gitlab.gnome.org/GNOME/glib/issues/1658 x_refsource_MISC
- https://gitlab.gnome.org/GNOME/glib/merge_requests/450 x_refsource_MISC
- https://gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429 x_refsource_MISC
- USN-4049-1 vendor-advisory, x_refsource_UBUNTU
- USN-4049-2 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2019:1749 vendor-advisory, x_refsource_SUSE
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931234#12 x_refsource_CONFIRM
- [debian-lts-announce] 20190731 [SECURITY] [DLA 1866-1] glib2.0 security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20190805 [SECURITY] [DLA 1866-2] glib2.0 regression update mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20190806-0003/ x_refsource_CONFIRM
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- June 28, 2019
- Published
- June 28, 2019, 14:07 UTC
- CVE record updated
- August 4, 2024, 23:41 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:15 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:21 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Glib?
- Jun 30, 2026CVE-2026-58016 GNOME GLib: integer underflow
- Jun 30, 2026CVE-2026-58015 GNOME GLib: path traversal (reading or writing files outside the intended folder)
- Jun 30, 2026CVE-2026-58014 GNOME GLib: off-by-one Error
- Jun 30, 2026CVE-2026-58013 GNOME GLib: buffer Over-read
- Jun 30, 2026CVE-2026-58012 GNOME GLib: buffer Over-read
- Jun 30, 2026CVE-2026-58011 GNOME GLib: out-of-bounds read
- Jun 30, 2026CVE-2026-58010 GNOME GLib: buffer Over-read
- Dec 11, 2025CVE-2025-14512 GNOME glib: integer overflow
Questions about CVE-2019-13012
Is CVE-2019-13012 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 3.24% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gnome Glib are affected by CVE-2019-13012?
glib from 2.0.0 before 2.59.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2019-13012?
2.59.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-13012?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-13012?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.