CVE-2011-0520 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service or execute arbitrary code via a heap-based buffer overflow in MaraDNS triggered by long DNS hostnames.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-0520?

CVE-2011-0520 is a high-severity memory corruption vulnerability in n/a, published on 28 Jan 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The compress_add_dlabel_points function in dns/Compress.c in MaraDNS 1.4.03, 1.4.05, and probably other versions allows remote attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a long DNS hostname with a large number of labels, which triggers a heap-based buffer overflow.

Weakness: CWE-119

Which versions are affected by CVE-2011-0520?

It affects 1 product.

Products include Maradns Maradns.

How do I fix CVE-2011-0520?

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-2011-0520 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-0520, DSA-2196-1, GHSA-7vq7-qcwq-j3vc.

Is CVE-2011-0520 in your software?

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

Check your SBOMs for free