CVE-2009-0858 d.j.bernstein djbdns: Improper Input Validation
d.j.bernstein djbdns: no CVSS score yet. EPSS 6.3% estimated probability of exploitation activity in the next 30 days.
On this page
The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.
- EPSS
- 6.3% (unchanged from 6.3% a week ago; 6.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-20 Improper Input Validation
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: http://securityandthe.net/2009/03/05/security-issue-in-djbdns-confirmed/
Ask an AI about this CVE
Show the prompt
Explain CVE-2009-0858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-0858?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-0858?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-0858 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| d.j.bernstein:djbdns | through 1.05 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 5.0 | djbdns | 1:1.05-4+lenny1 | DSA-1831-1 |
| Debian | 12, 13, 14 | djbdns | 1:1.05-5 | DEBIAN-CVE-2009-0858 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Public exploits
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).
References
- http://securityandthe.net/2009/03/05/security-issue-in-djbdns-confirmed/
- http://it.slashdot.org/article.pl?sid=09/03/05/2014249
- http://marc.info/?l=djbdns&m=123554945710038
- http://marc.info/?l=djbdns&m=123613000920446&w=2
- http://secunia.com/advisories/35820
- http://www.debian.org/security/2009/dsa-1831
- http://www.securityfocus.com/archive/1/501294/100/0/threaded
- http://www.securityfocus.com/archive/1/501340/100/0/threaded
- http://www.securityfocus.com/archive/1/501479/100/0/threaded
- http://www.securityfocus.com/bid/33937
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49003