{"id":"JLSEC-2025-156","summary":"An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4","details":"An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated modulo 2**32, causing unintended length truncation.","modified":"2025-11-03T00:18:55.774254Z","published":"2025-10-19T22:31:43.957Z","upstream":["CVE-2021-27218"],"database_specific":{"license":"CC-BY-4.0","sources":[{"published":"2021-02-15T17:15:13.073Z","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27218","id":"CVE-2021-27218","modified":"2024-11-21T05:57:37.240Z","imported":"2025-10-19T21:13:23.539Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-27218"}]},"references":[{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1942"},{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1944"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202107-13"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210319-0004/"}],"affected":[{"package":{"name":"Glib_jll","ecosystem":"Julia","purl":"pkg:julia/Glib_jll?uuid=7746bdde-850d-59dc-9ae8-88ece973131d"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.68.1+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-156.json"}}],"schema_version":"1.7.3"}