# CVE-2024-52533: Memory corruption in n/a

> An off-by-one error in GLib's SOCKS4 proxy handling causes a buffer overflow, potentially allowing code execution or denial of service.

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 11 Nov 2024
- **Updated:** 15 Oct 2026
- **Also known as:** ALSA-2025:0936, AZL-52608, AZL-52639, BELL-CVE-2024-52533, CLSA-2024-1732196856, CLSA-2024-1732555216, CLSA-2025-1738833732, CLSA-2025-1753207715, CLSA-2025-1753207967, CLSA-2025-1753209406, CLSA-2025-1758705538, CLSA-2025-1758705749, CLSA-2025-1758709327, CLSA-2025-1758892204, CLSA-2025-1758896647, DEBIAN-CVE-2024-52533, DLA-3962-1, GHSA-5rq6-q8gw-qqpr, JLSEC-2025-166, MGASA-2024-0386, OESA-2024-2381, OESA-2024-2382, OESA-2024-2435, OESA-2024-2436, OESA-2024-2437, RHSA-2025:0936, RLSA-2025:0936, ROOT-OS-ALPINE-320-CVE-2024-52533, SUSE-SU-2024:3998-1, SUSE-SU-2024:4051-1, SUSE-SU-2024:4051-2, SUSE-SU-2024:4078-1, SUSE-SU-2024:4254-1, SUSE-SU-2025:20095-1, SUSE-SU-2025:20232-1, UBUNTU-CVE-2024-52533, USN-7114-1, openSUSE-SU-2024:14487-1

## What is CVE-2024-52533?

CVE-2024-52533 is a critical memory corruption vulnerability in Debian Debian Linux, published on 11 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.

Weakness: CWE-120 (Buffer Copy without Checking Size of Input)

## Which versions are affected by CVE-2024-52533?

It affects 4 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `mingw32-glib2` | AlmaLinux:9 | All versions | 2.78.6-2.el9 |
| `mingw32-glib2-static` | AlmaLinux:9 | All versions | 2.78.6-2.el9 |
| `mingw64-glib2` | AlmaLinux:9 | All versions | 2.78.6-2.el9 |
| `mingw64-glib2-static` | AlmaLinux:9 | All versions | 2.78.6-2.el9 |
| `mingw-glib2` | Red Hat:enterprise_linux:9::crb | All versions | 0:2.78.6-2.el9 |
| `mingw32-glib2` | Red Hat:enterprise_linux:9::crb | All versions | 0:2.78.6-2.el9 |
| `mingw32-glib2-debuginfo` | Red Hat:enterprise_linux:9::crb | All versions | 0:2.78.6-2.el9 |
| `mingw32-glib2-static` | Red Hat:enterprise_linux:9::crb | All versions | 0:2.78.6-2.el9 |
| `mingw64-glib2` | Red Hat:enterprise_linux:9::crb | All versions | 0:2.78.6-2.el9 |
| `mingw64-glib2-debuginfo` | Red Hat:enterprise_linux:9::crb | All versions | 0:2.78.6-2.el9 |
| `mingw64-glib2-static` | Red Hat:enterprise_linux:9::crb | All versions | 0:2.78.6-2.el9 |
| `mingw-glib2` | Rocky Linux:9 | All versions | 0:2.78.6-2.el9 |
| `glib2` | SUSE:Enterprise Storage 7.1 | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Enterprise Micro 5.1 | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise Micro 5.2 | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise Micro 5.3 | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Enterprise Micro 5.4 | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Enterprise Micro 5.5 | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 2.78.6-150600.4.8.1 |
| `glib2` | SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 2.48.2-12.43.1 |
| `glib2` | SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 2.48.2-12.43.1 |
| `glib2` | SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 2.48.2-12.43.1 |
| `glib2` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 2.48.2-12.43.1 |
| `glib2` | SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 2.62.6-150200.3.24.1 |
| `glib2` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Linux Micro 6.0 | All versions | 2.76.2-6.1 |
| `glib2` | SUSE:Linux Micro 6.1 | All versions | 2.78.6-slfo.1.1_2.1 |
| `glib2` | SUSE:Manager Proxy 4.3 | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | SUSE:Manager Server 4.3 | All versions | 2.70.5-150400.3.17.1 |
| `glib2` | openSUSE:Leap 15.5 | All versions | 2.70.5-150400.3.17.1 |
| `glib2-doc` | openSUSE:Leap 15.5 | All versions | 2.70.5-150400.3.17.1 |

Products: Debian Debian Linux, Gnome Glib, Netapp Active Iq Unified Manager, Netapp Ontap Tools.

## How do I fix CVE-2024-52533?

Upgrade to a fixed version.

## Is CVE-2024-52533 being exploited?

There is no known exploitation of CVE-2024-52533 in the wild and no public exploit code.

## Other vulnerabilities in Debian Debian Linux

- [CVE-2015-3306](https://insights.sbomify.com/CVE-2015-3306/): ProFTPD Improper Access Control (critical 10.0, exploited in the wild)
- [CVE-2025-49113](https://insights.sbomify.com/CVE-2025-49113/): RoundCube Webmail Deserialization of Untrusted Data (critical 9.9, exploited in the wild)
- [CVE-2026-24061](https://insights.sbomify.com/CVE-2026-24061/): GNU InetUtils Argument Injection (critical 9.8, exploited in the wild)
- [CVE-2025-39682](https://insights.sbomify.com/CVE-2025-39682/): Linux Kernel Improper Check for Unusual or Exceptional Conditions (critical 9.8, exploited in the wild)
- [CVE-2024-9680](https://insights.sbomify.com/CVE-2024-9680/): Mozilla Firefox Use-After-Free (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-52533 and fix it if it is affected.

What it is: CVE-2024-52533 is a critical memory corruption vulnerability in Debian Debian Linux, published on 11 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-52533 in the wild and no public exploit code.

Affected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-52533/ (Markdown: https://insights.sbomify.com/CVE-2024-52533/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-52533
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-52533
- OSV: https://osv.dev/vulnerability/CVE-2024-52533

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-52533/
Summaries are generated and may contain mistakes; the official description above is the record.
