# CVE-2019-13012

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.59.1 (CNA); fix release not confirmed
- Status: published
- Published: 2019-06-28 · Modified: 2024-08-04
- Aliases: SUSE-SU-2019:1824-1, SUSE-SU-2019:1830-1, SUSE-SU-2019:1830-2, SUSE-SU-2019:1833-1, UBUNTU-CVE-2019-13012, USN-4049-1, USN-4049-2, DEBIAN-CVE-2019-13012, DLA-1866-2, openSUSE-SU-2019:1749-1
- Record: https://cvemate.com/vulnerability/CVE-2019-13012 · JSON: https://cvemate.com/vulnerability/CVE-2019-13012/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 3.237%, percentile 88.68%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 27)

- debian glib2.0 (Debian): \< 2.60.5-1 \| \< 2.42.1-1+deb8u3
- ubuntu glib2.0 (Ubuntu): \< 2.48.2-0ubuntu4.3 \| \< 2.40.2-0ubuntu1.1+esm3 \| \< 2.48.2-0ubuntu4.4 \| \< 2.56.4-0ubuntu0.18.04.4 \| \< 2.40.2-0ubuntu1.1+esm2
- gnome glib: ≥ 2.0.0, \< 2.59.1
- opensuse glib2&distro=openSUSE Leap 15.0 (openSUSE): \< 2.54.3-lp150.3.13.1
- suse glib2&distro=HPE Helion OpenStack 8 (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Enterprise Storage 4 (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Enterprise Storage 5 (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Linux Enterprise Desktop 12 SP4 (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Linux Enterprise Module for Basesystem 15 (SUSE Linux Enterprise): \< 2.54.3-4.18.1
- suse glib2&distro=SUSE Linux Enterprise Module for Basesystem 15 SP1 (SUSE Linux Enterprise): \< 2.54.3-4.18.1
- suse glib2&distro=SUSE Linux Enterprise Module for Package Hub 15 (SUSE Linux Enterprise): \< 2.54.3-4.18.1
- suse glib2&distro=SUSE Linux Enterprise Server 12 SP1-LTSS (SUSE Linux Enterprise): \< 2.38.2-7.12.1
- suse glib2&distro=SUSE Linux Enterprise Server 12 SP2-BCL (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Linux Enterprise Server 12 SP2-LTSS (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Linux Enterprise Server 12 SP3-BCL (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Linux Enterprise Server 12 SP3-LTSS (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Linux Enterprise Server 12 SP4 (SUSE Linux Enterprise): \< 2.48.2-12.15.1
- suse glib2&distro=SUSE Linux Enterprise Server 12-LTSS (SUSE Linux Enterprise): \< 2.38.2-7.12.1
- suse glib2&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1 (SUSE Linux Enterprise): \< 2.38.2-7.12.1
- suse glib2&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2 (SUSE Linux Enterprise): \< 2.48.2-12.15.1

## References (first 20 of 28)

- <https://gitlab.gnome.org/GNOME/glib/issues/1658>
- <https://gitlab.gnome.org/GNOME/glib/merge_requests/450>
- <https://gitlab.gnome.org/GNOME/glib/commit/5e4da714f00f6bfb2ccd6d73d61329c6f3a08429>
- <https://usn.ubuntu.com/4049-1/>
- <https://usn.ubuntu.com/4049-2/>
- <http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00022.html>
- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931234#12>
- <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://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E>
- <https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20191824-1/>
- <https://bugzilla.suse.com/1139959>
- <https://www.suse.com/security/cve/CVE-2019-13012>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20191830-1/>
- <https://bugzilla.suse.com/1140122>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20191830-2/>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20191833-1/>
- <https://ubuntu.com/security/CVE-2019-13012>

---

Data as of 2026-12-05T06:50:41.536Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
