CVE-2024-52531 Memory corruption in libsoup
A buffer overflow in GNOME libsoup allows remote attackers to execute arbitrary code or cause denial of service via crafted HTTP headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-52531?
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.
Official 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).
Weakness: CWE-787
Which versions are affected by CVE-2024-52531?
It affects 1 product.
Linux distribution packages (40)
libsoup AlmaLinux:8 | All versions | 2.62.3-7.el8_10 |
libsoup-devel AlmaLinux:8 | All versions | 2.62.3-7.el8_10 |
libsoup AlmaLinux:9 | All versions | 2.72.0-8.el9_5.3 |
libsoup-devel AlmaLinux:9 | All versions | 2.72.0-8.el9_5.3 |
libsoup-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.62.3-7.el8_10 |
libsoup-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:2.62.3-7.el8_10 |
libsoup-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:2.62.3-7.el8_10 |
libsoup Red Hat:enterprise_linux:8::baseos | All versions | 0:2.62.3-7.el8_10 |
libsoup-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.62.3-7.el8_10 |
libsoup-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:2.62.3-7.el8_10 |
libsoup Red Hat:enterprise_linux:9::appstream | All versions | 0:2.72.0-8.el9_5.3 |
libsoup-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:2.72.0-8.el9_5.3 |
libsoup-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:2.72.0-8.el9_5.3 |
libsoup-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:2.72.0-8.el9_5.3 |
libsoup Red Hat:rhel_aus:8.2::baseos | All versions | 0:2.62.3-1.el8_2.2 |
libsoup-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debugsource Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-devel Red Hat:rhel_aus:8.4::appstream | All versions | 0:2.62.3-2.el8_4.2 |
libsoup Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debugsource Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debuginfo Red Hat:rhel_aus:8.6::appstream | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-debugsource Red Hat:rhel_aus:8.6::appstream | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-devel Red Hat:rhel_aus:8.6::appstream | All versions | 0:2.62.3-2.el8_6.2 |
libsoup Red Hat:rhel_aus:8.6::baseos | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-debuginfo Red Hat:rhel_aus:8.6::baseos | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-debugsource Red Hat:rhel_aus:8.6::baseos | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-debuginfo Red Hat:rhel_e4s:8.4::appstream | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debugsource Red Hat:rhel_e4s:8.4::appstream | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-devel Red Hat:rhel_e4s:8.4::appstream | All versions | 0:2.62.3-2.el8_4.2 |
libsoup Red Hat:rhel_e4s:8.4::baseos | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debuginfo Red Hat:rhel_e4s:8.4::baseos | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debugsource Red Hat:rhel_e4s:8.4::baseos | All versions | 0:2.62.3-2.el8_4.2 |
libsoup-debuginfo Red Hat:rhel_e4s:8.6::appstream | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-debugsource Red Hat:rhel_e4s:8.6::appstream | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-devel Red Hat:rhel_e4s:8.6::appstream | All versions | 0:2.62.3-2.el8_6.2 |
libsoup Red Hat:rhel_e4s:8.6::baseos | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-debuginfo Red Hat:rhel_e4s:8.6::baseos | All versions | 0:2.62.3-2.el8_6.2 |
libsoup-debugsource Red Hat:rhel_e4s:8.6::baseos | All versions | 0:2.62.3-2.el8_6.2 |
libsoup Red Hat:rhel_e4s:9.0::appstream | All versions | 0:2.72.0-8.el9_0.3 |
Products include Gnome Libsoup.
How do I fix CVE-2024-52531?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-52531 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52531 exists.
Other vulnerabilities in GNOME libsoup
- CVE-2026-102556 Libsoup: libsoup: heap buffer overflow from websocket pong signal type confusion
- CVE-2026-102557 Libsoup: libsoup: heap buffer overflow during websocket message reassembly
- CVE-2026-102558 Libsoup: libsoup: heap buffer overflow during websocket receive-buffer growth
- CVE-2026-102559 Libsoup: libsoup: heap buffer overflow during websocket client-frame masking
- CVE-2026-102560 Libsoup: libsoup: heap buffer overflow during outgoing permessage-deflate buffer growth
Sources
Also known as ALSA-2025:0791, ALSA-2025:0838, AZL-53063, AZL-53076, CLSA-2025-1744924875, CLSA-2025-1744926275 and 18 more.