{"answers":{"affected":"3 open source packages ship an affected version, including java, java-min and jre. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-6052 in the wild and no public exploit code.","fix":"Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.481.","what":"CVE-2025-6052 is a low-severity vulnerability in Red Hat Enterprise Linux 10, published on 13 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-6052 and fix it if it is affected.\n\nWhat it is: CVE-2025-6052 is a low-severity vulnerability in Red Hat Enterprise Linux 10, published on 13 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-6052 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- java (Bitnami): affected all versions; fixed in 1.8.0, 8.0.481\n- java-min (Bitnami): affected all versions; fixed in 1.8.0, 8.0.481\n- jre (Bitnami): affected all versions; fixed in 1.8.0, 8.0.481\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-6052/ (Markdown: https://insights.sbomify.com/CVE-2025-6052/index.md)","id":"CVE-2025-6052","markdown":"https://insights.sbomify.com/CVE-2025-6052/index.md","name":"CVE-2025-6052","record":{"aliases":["AZL-63912","BELL-CVE-2025-6052","BIT-java-2025-6052","BIT-java-min-2025-6052","BIT-jre-2025-6052","DEBIAN-CVE-2025-6052","ECHO-b543-f20a-a5c6","GHSA-99rj-3595-5frj","JLSEC-2025-167","MGASA-2025-0216","MINI-g7h7-p9gf-cf9w","MINI-p83j-9wj6-vxcj","OESA-2025-1795","OESA-2025-1796","OESA-2025-1797","SUSE-SU-2025:20673-1","UBUNTU-CVE-2025-6052","openSUSE-SU-2025:15221-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GLib string library","requires_auth":"none","summary":"An integer overflow in GLib's GString memory management can lead to buffer overflows, causing crashes or potential code execution.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"glib","vendor":"gnome"}],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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.","ecosystems":["Bitnami","SUSE:Linux Micro 6.1","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Glib: integer overflow in g_string_maybe_expand() leading to potential buffer overflow in glib gstring","id":"CVE-2025-6052","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"integer_overflow","year":"2025"},"n_packages":5,"n_references":2,"next":{"headline":"Zuppler Online Ordering \u003c= 2.1.0 - Cross-Site Request Forgery to Stored Cross-Site Scripting","id":"CVE-2025-6053"},"packages":[{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.481"],"introduced":["0","1.9.0"],"last_affected":[],"package":"java","purl":"pkg:bitnami/java","source":"BIT-java-2025-6052"},{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.481"],"introduced":["0","1.9.0"],"last_affected":[],"package":"java-min","purl":"pkg:bitnami/java-min","source":"BIT-java-min-2025-6052"},{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.481"],"introduced":["0","1.9.0"],"last_affected":[],"package":"jre","purl":"pkg:bitnami/jre","source":"BIT-jre-2025-6052"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["2.78.6-slfo.1.1_4.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2025:20673-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.84.3-1.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/opensuse/glib2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15221-1"}],"prev":{"headline":"Regular Expression Denial of Service (ReDoS) in huggingface/transformers","id":"CVE-2025-6051"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9"],"published":"2025-06-13","related":[{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2020-35457","kev_date_added":null,"published":"2020-12-14"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2009-3289","kev_date_added":null,"published":"2009-09-22"},{"cvss_score":7.7,"headline":"Glib: integer overflow in in g_escape_uri_string()","id":"CVE-2025-13601","kev_date_added":null,"published":"2025-11-26"},{"cvss_score":7.5,"headline":"Glib: integer underflow in gio/gdbusintrospection.c via \"g_dbus_node_info_new_for_xml\"","id":"CVE-2026-58016","kev_date_added":null,"published":"2026-06-30"},{"cvss_score":7.5,"headline":"Glib: glib crash after long command line","id":"CVE-2025-4056","kev_date_added":null,"published":"2025-07-28"},{"cvss_score":7.5,"headline":"Misconfiguration in n/a","id":"CVE-2019-13012","kev_date_added":null,"published":"2019-06-28"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2012-0039","kev_date_added":null,"published":"2012-01-14"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-02","vendors":["Red Hat"]},"summary":"An integer overflow in GLib's GString memory management can lead to buffer overflows, causing crashes or potential code execution.","url":"https://insights.sbomify.com/CVE-2025-6052/"}