CVE-2024-43168
Unbound: heap-buffer-overflow in unbound
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.8
Unbound: heap-buffer-overflow in unbound
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
CVE-2024-43168- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2024-40094
4.8
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
EUVD-2024-40094- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3jwc-8hp9-37fw
4.8
A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file...
A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
GHSA-3jwc-8hp9-37fw- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
NVD
4.8
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
CVE-2024-43168- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-122
- Updated
- 2026-11-02
OSV
4.8
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
CVE-2024-43168- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-43168
4.8
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
DEBIAN-CVE-2024-43168- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Show 8 moreShow less
OSVOESA-2024-2025
4.8
unbound security update
Unbound is a validating, recursive, caching DNS resolver. It is designed to be fast and lean and incorporates modern features based on open standards. To help increase online privacy, Unbound supports DNS-over-TLS which allows clients to encrypt their communication. Unbound is available for most platforms such as FreeBSD, OpenBSD, NetBSD, MacOS, Linux and Microsoft Windows. Unbound is a totally free, open source software under the BSD license. It doesn't make custom builds or provide specific features to paying customers only.
Security Fix(es):
A NULL pointer dereference flaw was found in the ub_ctx_set_fwd function in Unbound. This issue could allow an attacker who can invoke specific sequences of API calls to cause a segmentation fault. When certain API functions such as ub_ctx_set_fwd and ub_ctx_resolvconf are called in a particular order, the program attempts to read from a NULL pointer, leading to a crash. This issue can result in a denial of service by causing the application to terminate unexpectedly.(CVE-2024-43167)
A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.(CVE-2024-43168)
- Record
OESA-2024-2025- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-43168
4.8
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
UBUNTU-CVE-2024-43168- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVAZL-47774 No score
CVE-2024-43168 affecting package unbound for versions less than 1.19.1-2
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
AZL-47774- Updated
- 2026-11-02
OSVAZL-47776 No score
CVE-2024-43168 affecting package unbound for versions less than 1.19.1-2
DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
- Record
AZL-47776- Updated
- 2026-11-02
OSVCLSA-2026-1785318558 No score
unbound: Fix of 2 CVEs
- CVE-2026-42923: cap NSEC3 hash calculations in the negative-cache DS proof and reject oversized NSEC3 salt
- CVE-2024-43168: reject negative port numbers in outgoing-port-permit/avoid to prevent an out-of-bounds write
- Record
CLSA-2026-1785318558- Updated
- 2026-11-02
OSVCLSA-2026-1785417704 No score
unbound: Fix of 3 CVEs
- CVE-2026-50243: do not let response-ip/rpz rewrite a BOGUS answer; return SERVFAIL
- CVE-2026-42923: cap NSEC3 hash calculations in the negative-cache DS proof and reject oversized NSEC3 salt
- CVE-2024-43168: reject negative port numbers in outgoing-port-permit/avoid to prevent an out-of-bounds write
- Record
CLSA-2026-1785417704- Updated
- 2026-11-02
OSVCLSA-2026-1785489388 No score
unbound: Fix of 3 CVEs
- CVE-2026-50243: do not let response-ip/rpz rewrite a BOGUS answer; return SERVFAIL
- CVE-2026-42923: cap NSEC3 hash calculations in the negative-cache DS proof and reject oversized NSEC3 salt
- CVE-2024-43168: reject negative port numbers in outgoing-port-permit/avoid to prevent an out-of-bounds write
- Record
CLSA-2026-1785489388- Updated
- 2026-11-02
OSVUSN-6998-1 No score
unbound vulnerabilities
It was discovered that Unbound incorrectly handled string comparisons, which could lead to a NULL pointer dereference. An attacker could potentially use this issue to cause a denial of service. (CVE-2024-43167)
It was discovered that Unbound incorrectly handled memory in cfg_mark_ports, which could lead to a heap buffer overflow. A local attacker could potentially use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-43168)
- Record
USN-6998-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
unboundAzure Linux:3 |
before 1.19.1-2 | 1.19.1-2 |
unboundAzure Linux:2 |
before 1.19.1-2 | 1.19.1-2 |
python3-unboundTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 1.16.2-3.el9_2.tuxcare.els10 | 1.16.2-3.el9_2.tuxcare.els10 |
unboundTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 1.16.2-3.el9_2.tuxcare.els10 | 1.16.2-3.el9_2.tuxcare.els10 |
unbound-develTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 1.16.2-3.el9_2.tuxcare.els10 | 1.16.2-3.el9_2.tuxcare.els10 |
unbound-libsTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 1.16.2-3.el9_2.tuxcare.els10 | 1.16.2-3.el9_2.tuxcare.els10 |
python3-unboundTuxCare:AlmaLinux:9.6 From an advisory covering 3 CVEs |
before 1.16.2-19.el9_6.1.tuxcare.els10 | 1.16.2-19.el9_6.1.tuxcare.els10 |
unboundTuxCare:AlmaLinux:9.6 From an advisory covering 3 CVEs |
before 1.16.2-19.el9_6.1.tuxcare.els10 | 1.16.2-19.el9_6.1.tuxcare.els10 |
unbound-develTuxCare:AlmaLinux:9.6 From an advisory covering 3 CVEs |
before 1.16.2-19.el9_6.1.tuxcare.els10 | 1.16.2-19.el9_6.1.tuxcare.els10 |
unbound-dracutTuxCare:AlmaLinux:9.6 From an advisory covering 3 CVEs |
before 1.16.2-19.el9_6.1.tuxcare.els10 | 1.16.2-19.el9_6.1.tuxcare.els10 |
Show 26 moreShow less
| Package | Affected | Fixed |
|---|---|---|
unbound-libsTuxCare:AlmaLinux:9.6 From an advisory covering 3 CVEs |
before 1.16.2-19.el9_6.1.tuxcare.els10 | 1.16.2-19.el9_6.1.tuxcare.els10 |
python3-unboundTuxCare:CentOS-Stream:8 From an advisory covering 3 CVEs |
before 1.16.2-5.el8.tuxcare.els10 | 1.16.2-5.el8.tuxcare.els10 |
unboundTuxCare:CentOS-Stream:8 From an advisory covering 3 CVEs |
before 1.16.2-5.el8.tuxcare.els10 | 1.16.2-5.el8.tuxcare.els10 |
unbound-develTuxCare:CentOS-Stream:8 From an advisory covering 3 CVEs |
before 1.16.2-5.el8.tuxcare.els10 | 1.16.2-5.el8.tuxcare.els10 |
unbound-libsTuxCare:CentOS-Stream:8 From an advisory covering 3 CVEs |
before 1.16.2-5.el8.tuxcare.els10 | 1.16.2-5.el8.tuxcare.els10 |
unboundDebian:12 |
before 1.17.1-2+deb12u3, plus listed versions 1.17.1-21.17.1-2+deb12u11.17.1-2+deb12u2 |
1.17.1-2+deb12u3 |
unboundDebian:13 |
before 1.20.0-1 | 1.20.0-1 |
unboundDebian:14 |
before 1.20.0-1 | 1.20.0-1 |
unboundDebian:11 From an advisory covering 2 CVEs |
before 1.13.1-1+deb11u3, plus listed versions 1.13.1-11.13.1-1+deb11u11.13.1-1+deb11u2 |
1.13.1-1+deb11u3 |
unboundopenEuler:22.03-LTS-SP1 From an advisory covering 2 CVEs |
before 1.13.2-12.oe2203sp1 | 1.13.2-12.oe2203sp1 |
unboundopenEuler:24.03-LTS From an advisory covering 2 CVEs |
before 1.17.1-7.oe2403 | 1.17.1-7.oe2403 |
unboundopenEuler:22.03-LTS-SP4 From an advisory covering 2 CVEs |
before 1.13.2-13.oe2203sp4 | 1.13.2-13.oe2203sp4 |
unboundopenEuler:22.03-LTS-SP3 From an advisory covering 2 CVEs |
before 1.13.2-13.oe2203sp3 | 1.13.2-13.oe2203sp3 |
unboundopenEuler:20.03-LTS-SP4 From an advisory covering 2 CVEs |
before 1.11.0-13.oe2003sp4 | 1.11.0-13.oe2003sp4 |
unboundUbuntu:Pro:14.04:LTS |
before 1.4.22-1ubuntu4.14.04.3+esm1, plus listed versions 1.4.20-11.4.21-11.4.21-1ubuntu11.4.21-1ubuntu21.4.22-1ubuntu1 Show 6 moreShow less1.4.22-1ubuntu21.4.22-1ubuntu31.4.22-1ubuntu41.4.22-1ubuntu4.14.04.11.4.22-1ubuntu4.14.04.21.4.22-1ubuntu4.14.04.3 |
1.4.22-1ubuntu4.14.04.3+esm1 |
unboundUbuntu:Pro:16.04:LTS |
before 1.5.8-1ubuntu1.1+esm1, plus listed versions 1.4.22-1ubuntu61.5.7-1ubuntu11.5.7-1ubuntu21.5.8-1ubuntu11.5.8-1ubuntu1.1 |
1.5.8-1ubuntu1.1+esm1 |
unboundUbuntu:Pro:18.04:LTS |
before 1.6.7-1ubuntu2.6+esm2, plus listed versions 1.6.5-11.6.7-11.6.7-1build11.6.7-1ubuntu11.6.7-1ubuntu2 Show 6 moreShow less1.6.7-1ubuntu2.11.6.7-1ubuntu2.21.6.7-1ubuntu2.31.6.7-1ubuntu2.41.6.7-1ubuntu2.51.6.7-1ubuntu2.6 |
1.6.7-1ubuntu2.6+esm2 |
unboundUbuntu:20.04:LTS |
before 1.9.4-2ubuntu1.8, plus listed versions 1.9.0-2ubuntu11.9.0-2ubuntu21.9.4-21.9.4-2ubuntu11.9.4-2ubuntu1.1 Show 5 moreShow less1.9.4-2ubuntu1.21.9.4-2ubuntu1.31.9.4-2ubuntu1.41.9.4-2ubuntu1.51.9.4-2ubuntu1.6 |
1.9.4-2ubuntu1.8 |
unboundUbuntu:22.04:LTS |
before 1.13.1-1ubuntu5.7, plus listed versions 1.13.1-1ubuntu11.13.1-1ubuntu31.13.1-1ubuntu51.13.1-1ubuntu5.11.13.1-1ubuntu5.21.13.1-1ubuntu5.31.13.1-1ubuntu5.41.13.1-1ubuntu5.5 |
1.13.1-1ubuntu5.7 |
unboundUbuntu:24.04:LTS |
before 1.19.2-1ubuntu3.2, plus listed versions 1.17.1-21.18.0-2ubuntu11.18.0-2ubuntu21.19.1-1ubuntu11.19.2-1ubuntu11.19.2-1ubuntu31.19.2-1ubuntu3.1 |
1.19.2-1ubuntu3.2 |
unboundUbuntu:Pro:14.04:LTS From an advisory covering 2 CVEs |
before 1.4.22-1ubuntu4.14.04.3+esm1, plus listed versions 1.4.20-11.4.21-11.4.21-1ubuntu11.4.21-1ubuntu21.4.22-1ubuntu1 Show 6 moreShow less1.4.22-1ubuntu21.4.22-1ubuntu31.4.22-1ubuntu41.4.22-1ubuntu4.14.04.11.4.22-1ubuntu4.14.04.21.4.22-1ubuntu4.14.04.3 |
1.4.22-1ubuntu4.14.04.3+esm1 |
unboundUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 1.5.8-1ubuntu1.1+esm1, plus listed versions 1.4.22-1ubuntu61.5.7-1ubuntu11.5.7-1ubuntu21.5.8-1ubuntu11.5.8-1ubuntu1.1 |
1.5.8-1ubuntu1.1+esm1 |
unboundUbuntu:Pro:18.04:LTS From an advisory covering 2 CVEs |
before 1.6.7-1ubuntu2.6+esm2, plus listed versions 1.6.5-11.6.7-11.6.7-1build11.6.7-1ubuntu11.6.7-1ubuntu2 Show 6 moreShow less1.6.7-1ubuntu2.11.6.7-1ubuntu2.21.6.7-1ubuntu2.31.6.7-1ubuntu2.41.6.7-1ubuntu2.51.6.7-1ubuntu2.6 |
1.6.7-1ubuntu2.6+esm2 |
unboundUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 1.9.4-2ubuntu1.8, plus listed versions 1.9.0-2ubuntu11.9.0-2ubuntu21.9.4-21.9.4-2ubuntu11.9.4-2ubuntu1.1 Show 5 moreShow less1.9.4-2ubuntu1.21.9.4-2ubuntu1.31.9.4-2ubuntu1.41.9.4-2ubuntu1.51.9.4-2ubuntu1.6 |
1.9.4-2ubuntu1.8 |
unboundUbuntu:22.04:LTS From an advisory covering 2 CVEs |
before 1.13.1-1ubuntu5.7, plus listed versions 1.13.1-1ubuntu11.13.1-1ubuntu31.13.1-1ubuntu51.13.1-1ubuntu5.11.13.1-1ubuntu5.21.13.1-1ubuntu5.31.13.1-1ubuntu5.41.13.1-1ubuntu5.5 |
1.13.1-1ubuntu5.7 |
unboundUbuntu:24.04:LTS From an advisory covering 2 CVEs |
before 1.19.2-1ubuntu3.2, plus listed versions 1.17.1-21.18.0-2ubuntu11.18.0-2ubuntu21.19.1-1ubuntu11.19.2-1ubuntu11.19.2-1ubuntu31.19.2-1ubuntu3.1 |
1.19.2-1ubuntu3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-43168 is a medium vulnerability (CVSS 4.8) in Red Hat Enterprise Linux 6, published August 8, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.31%, the 24th percentile. Fixed in unbound 1.19.1-2.
References
access.redhat.com/security/cve/CVE-2024-43168
bugzilla.redhat.com/show_bug.cgi?id=2303462
github.com/NLnetLabs/unbound/issues/1039
github.com/NLnetLabs/unbound/pull/1040/files
lists.debian.org/debian-lts-announce/2024/09/msg00046.html
nvd.nist.gov/vuln/detail/CVE-2024-43168
Show 14 moreShow less
github.com/advisories/GHSA-3jwc-8hp9-37fw
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1785318558.html
nvd.nist.gov/vuln/detail/CVE-2026-42923
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1785417704.html
nvd.nist.gov/vuln/detail/CVE-2026-50243
errata.tuxcare.com/els_os/centos-stream8els/CLSA-2026-1785489388.html
security-tracker.debian.org/tracker/CVE-2024-43168
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2025
nvd.nist.gov/vuln/detail/CVE-2024-43167
ubuntu.com/security/CVE-2024-43168
cve.org/CVERecord?id=CVE-2024-43168
github.com/NLnetLabs/unbound/pull/1040
ubuntu.com/security/notices/USN-6998-1
ubuntu.com/security/CVE-2024-43167