CVE-2022-38178
Memory leaks in EdDSA DNSSEC verification code
- Published
- Updated
- Reserved
- Assigned by
- isc
Description
By spoofing the target resolver with responses that have a malformed EdDSA signature, an attacker can trigger a small memory leak. It is possible to gradually erode available memory to the point where named crashes for lack of resources.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| iscCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.1% · top 12% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- In BIND 9.9.12 -> 9.9.13, 9.10.7 -> 9.10.8, 9.11.3 -> 9.16.32, 9.18.0 -> 9.18.6, versions 9.11.4-S1 -> 9.11.37-S1, 9.16.8-S1 -> 9.16.32-S1 of the BIND Supported Preview Edition, and versions 9.19.0 -> 9.19.4 of the BIND 9.19 development branch, the DNSSEC verification code for the EdDSA algorithm leaks memory when there is a signature length mismatch.
- CWE-401 Missing Release of Memory after Effective Lifetime (opens in a new tab)All about CWE-401 and its CVEs
Affected products
- affected Open Source Branch 9.9 9.9.12 through versions up to and including 9.9.13
- affected Open Source Branch 9.10 9.10.7 through versions up to and including 9.10.8
- affected Open Source Branches 9.11 through 9.16 9.11.3 through versions before 9.16.33
- affected Open Source Branch 9.18 9.18.0 through versions before 9.18.7
- affected Supported Preview Branch 9.11-S 9.11.4-S1 through versions up to and including 9.11.37-S1
- affected Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.33-S1
- affected Development Branch 9.19 9.19.0 through versions before 9.19.5
What to do
Solution: Upgrade to the patched release most closely related to your current version of BIND: BIND 9.16.33, BIND 9.18.7, BIND 9.19.5, or for BIND Supported Preview Edition (a special feature preview branch of BIND provided to eligible ISC support customers): BIND 9.16.33-S1.
Workaround: Disable the following algorithms in your configuration using the disable-algorithms option: ED25519, ED448. Note that this causes zones signed with these algorithms to be treated as insecure.
Exploitation: This flaw was discovered in internal testing. We are not aware of any active exploits.
References (9)
- https://kb.isc.org/docs/cve-2022-38178 (opens in a new tab)x_transferred
- [oss-security] 20220921 ISC has disclosed six vulnerabilities in BIND (CVE-2022-2795, CVE-2022-2881, CVE-2022-2906, CVE-2022-3080, CVE-2022-38177, CVE-2022-38178) (opens in a new tab)mailing-listx_transferred
- DSA-5235 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-ef038365de (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-8268735e06 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-b197d64471 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20221005 [SECURITY] [DLA 3138-1] bind9 security update (opens in a new tab)mailing-listx_transferred
- GLSA-202210-25 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20221228-0009/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-38178)Record last updated .