{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52531 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-52531 is a medium-severity memory corruption vulnerability in GNOME libsoup, published on 11 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-52531 and fix it if it is affected.\n\nWhat it is: CVE-2024-52531 is a medium-severity memory corruption vulnerability in GNOME libsoup, published on 11 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52531 exists.\n\nAffected product: GNOME libsoup. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-52531/ (Markdown: https://insights.sbomify.com/CVE-2024-52531/index.md)","id":"CVE-2024-52531","markdown":"https://insights.sbomify.com/CVE-2024-52531/index.md","name":"CVE-2024-52531","record":{"aliases":["ALSA-2025:0791","ALSA-2025:0838","AZL-53063","AZL-53076","CLSA-2025-1744924875","CLSA-2025-1744926275","CLSA-2025-1745955704","DEBIAN-CVE-2024-52531","GHSA-5mc3-gwcr-mgc3","JLSEC-2026-1278","OESA-2024-2601","RHSA-2025:0791","RHSA-2025:0838","RHSA-2025:0847","RHSA-2025:0848","RHSA-2025:0882","RHSA-2025:0889","RHSA-2025:0903","RHSA-2025:0949","RHSA-2025:1047","RHSA-2025:1075","RLSA-2025:0791","RLSA-2025:0838","UBUNTU-CVE-2024-52531"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GNOME libsoup library","requires_auth":"none","summary":"A buffer overflow in GNOME libsoup allows remote attackers to execute arbitrary code or cause denial of service via crafted HTTP headers.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libsoup","vendor":"gnome"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"GNOME libsoup before 3.6.1 allows a buffer overflow in applications that perform conversion to UTF-8 in soup_header_parse_param_list_strict. There is a plausible way to reach this remotely via soup_message_headers_get_content_type (e.g., an application may want to retrieve the content type of a request or response).","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.4::appstream","Red Hat:rhel_e4s:8.4::baseos","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_els:7","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_tus:8.4::appstream","Red Hat:rhel_tus:8.4::baseos","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.6::baseos","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in libsoup","id":"CVE-2024-52531","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":74,"n_references":4,"next":{"headline":"Denial of service in n/a","id":"CVE-2024-52532"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/almalinux/libsoup","source":"ALSA-2025:0838"},{"ecosystem":"AlmaLinux:8","fixed":["2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/almalinux/libsoup-devel","source":"ALSA-2025:0838"},{"ecosystem":"AlmaLinux:9","fixed":["2.72.0-8.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/almalinux/libsoup","source":"ALSA-2025:0791"},{"ecosystem":"AlmaLinux:9","fixed":["2.72.0-8.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/almalinux/libsoup-devel","source":"ALSA-2025:0791"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0838"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0838"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/redhat/libsoup-devel","source":"RHSA-2025:0838"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0838"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0838"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.62.3-7.el8_10"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0838"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.72.0-8.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0791"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.72.0-8.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0791"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.72.0-8.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0791"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.72.0-8.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/redhat/libsoup-devel","source":"RHSA-2025:0791"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:2.62.3-1.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0903"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/redhat/libsoup-devel","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/redhat/libsoup-devel","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_e4s:8.4::appstream","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_e4s:8.4::appstream","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_e4s:8.4::appstream","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/redhat/libsoup-devel","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:2.62.3-2.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0889"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-devel","purl":"pkg:rpm/redhat/libsoup-devel","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debuginfo","purl":"pkg:rpm/redhat/libsoup-debuginfo","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:2.62.3-2.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libsoup-debugsource","purl":"pkg:rpm/redhat/libsoup-debugsource","source":"RHSA-2025:0949"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.72.0-8.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"libsoup","purl":"pkg:rpm/redhat/libsoup","source":"RHSA-2025:0882"}],"prev":{"headline":"Other in n/a","id":"CVE-2024-52530"},"products":["libsoup"],"published":"2024-11-11","related":[{"cvss_score":8.6,"headline":"Libsoup: libsoup: heap buffer overflow from websocket pong signal type confusion","id":"CVE-2026-102556","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.6,"headline":"Libsoup: libsoup: heap buffer overflow during websocket message reassembly","id":"CVE-2026-102557","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.6,"headline":"Libsoup: libsoup: heap buffer overflow during websocket receive-buffer growth","id":"CVE-2026-102558","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.6,"headline":"Libsoup: libsoup: heap buffer overflow during websocket client-frame masking","id":"CVE-2026-102559","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.6,"headline":"Libsoup: libsoup: heap buffer overflow during outgoing permessage-deflate buffer growth","id":"CVE-2026-102560","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.2,"headline":"Libsoup: libsoup: heap buffer overflow via uninitialized length in data-uri base64 decoding","id":"CVE-2026-102555","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":7.5,"headline":"Other in n/a","id":"CVE-2024-52530","kev_date_added":null,"published":"2024-11-11"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["GNOME"]},"summary":"A buffer overflow in GNOME libsoup allows remote attackers to execute arbitrary code or cause denial of service via crafted HTTP headers.","url":"https://insights.sbomify.com/CVE-2024-52531/"}