# JLSEC-2025-167: A flaw was found in how GLib’s GString manages memory when adding data to strings

- 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-18T00:00:53.596Z
- Related: CVE-2025-6052

## Description

A flaw was found in how GLib’s GString manages memory when adding data to strings. If a string is already very large, combining it with more input can cause a hidden overflow in the size calculation. This makes the system think it has enough memory when it doesn’t. As a result, data may be written past the end of the allocated memory, leading to crashes or memory corruption.

(As written by Julia Security Advisories.)

## Affected

- Glib_jll (Julia): from 2.76.5+0 before 2.86.0+0

## References

- <https://access.redhat.com/security/cve/CVE-2025-6052> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2372666> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html> (web)

## Sources

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

---

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