GHSA-9hh6-p5c5-mmmfMediumCVSS 5.3

An issue was discovered in GNOME GLib before 2.66.8. When g_file_replace() is used with...

Published
May 24, 2022
Last Modified
October 14, 2026

🔗 CVE IDs covered (1)

📋 Description

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.)

🔗 References (11)