CVE-2024-52949 Memory corruption in n/a

High 7.5 Published Updated

A stack-based buffer overflow in iptraf-ng allows attackers to execute arbitrary code or cause a denial of service via crafted input.

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-52949?

CVE-2024-52949 is a high-severity memory corruption vulnerability in n/a, published on 16 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

iptraf-ng 1.2.1 has a stack-based buffer overflow. In src/ifaces.c, the strcpy function consistently fails to control the size, and it is consequently possible to overflow memory on the stack.

Weakness: CWE-120

Which versions are affected by CVE-2024-52949?

It affects 1 product.

Linux distribution packages (6)
iptraf-ng AlmaLinux:9All versions1.2.2-1.el9
iptraf-ng Red Hat:enterprise_linux:9::baseosAll versions0:1.2.2-1.el9
iptraf-ng-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:1.2.2-1.el9
iptraf-ng-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:1.2.2-1.el9
iptraf-ng Rocky Linux:9All versions0:1.2.2-1.el9
iptraf-ng openSUSE:TumbleweedAll versions1.2.2-1.1

Products include Iptraf-Ng Iptraf-Ng.

How do I fix CVE-2024-52949?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-52949 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52949 exists.

Sources

Also known as ALSA-2025:7064, AZL-54386, AZL-54389, CLSA-2025-1753800763, DEBIAN-CVE-2024-52949, GHSA-94mp-gc2x-rqm6 and 10 more.

Is CVE-2024-52949 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free