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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | maradns | 1.4.03-1.1 | — |
| Debian 5.0 | maradns | 1.3.07.09-2.1 | DSA-2196-1 |
Advisories 1
- DSA-2196-1 maradns - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2011-0699 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610834
- [oss-security] 20110123 CVE request: MaraDNS DoS via long queries mailing-list
- [oss-security] 20110124 Re: CVE request: MaraDNS DoS via long queries mailing-list
- maradns-compressadddlabelpoints-bo(64885) vdb-entry
- DSA-2196 vendor-advisory
- 43107 third-party-advisory
- 43027 third-party-advisory
- 70630 vdb-entry
- 45966 vdb-entry