# JLSEC-2025-157: An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-19T22:31:43.957Z
- Modified: 2026-07-23T22:30:15.021Z
- Related: CVE-2021-27219

## Description

An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function `g_bytes_new` has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.

(As written by Julia Security Advisories.)

## Affected

- Glib_jll (Julia): before 2.68.1+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://gitlab.gnome.org/GNOME/glib/-/issues/2319> (web)
- <https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E> (web)
- <https://lists.debian.org/debian-lts-announce/2022/06/msg00006.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2REA7RVKN7ZHRLJOEGBRQKJIPZQPAELZ/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JJMPNDO4GDVURYQFYKFOWY5HAF4FTEPN/> (web)
- <https://security.gentoo.org/glsa/202107-13> (web)
- <https://security.netapp.com/advisory/ntap-20210319-0004/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-157](https://osv.dev/vulnerability/JLSEC-2025-157), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/JLSEC-2025-157 · Whole record: https://cve.day/JLSEC-2025-157.json · Rebuilt by cve.day 2026-11-25T22:56:25.754Z
