{"id":"JLSEC-2025-158","aliases":["JLSEC-2025-158"],"related":["CVE-2021-28153"],"kind":"vulnerability","state":"published","title":"An issue was discovered in GNOME GLib before 2.66.8","summary":"An issue was discovered in GNOME GLib before 2.66.8. When `g_file_replace()` is used with `G_FILE_CREATE_REPLACE_DESTINATION` to replace a path that is a dangling symlink, it incorrectly also creates the target of the symlink as an empty file, which could conceivably have security relevance if the symlink is attacker-controlled. (If the path is a symlink to a file that already exists, then the contents of that file correctly remain unchanged.)","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"An issue was discovered in GNOME GLib before 2.66.8. When `g_file_replace()` is used with `G_FILE_CREATE_REPLACE_DESTINATION` to replace a path that is a dangling symlink, it incorrectly also creates the target of the symlink as an empty file, which could conceivably have security relevance if the symlink is attacker-controlled. (If the path is a symlink to a file that already exists, then the contents of that file correctly remain unchanged.)","format":"markdown","source":"jlsec"}],"published":"2025-10-19T22:31:43.957Z","modified":"2026-07-23T22:30:15.031Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N"},{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.68.1+0"}],"ecosystem":"Julia","package":"Glib_jll","purl":"pkg:julia/Glib_jll?uuid=7746bdde-850d-59dc-9ae8-88ece973131d","source":"jlsec"}],"references":[{"url":"https://gitlab.gnome.org/GNOME/glib/-/issues/2325","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RXTD5HCP2K4AAUSWWZTBKQNHRCTAEOF/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ICUTQPHZNZWX2DZR46QFLQZRHVMHIILJ/","tags":["web"],"sources":["jlsec"]},{"url":"https://security.gentoo.org/glsa/202107-13","tags":["web"],"sources":["jlsec"]},{"url":"https://security.netapp.com/advisory/ntap-20210416-0003/","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2025-158","url":"https://osv.dev/vulnerability/JLSEC-2025-158","licence":"CC-BY-4.0","modified":"2026-07-23T22:30:15.031Z"}],"updatedAt":"2026-11-25T22:56:25.754Z"}