# CVE-2024-43168: Unbound: heap-buffer-overflow in unbound

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-122
- **Published:** 2024-08-08T20:25:24.723Z
- **Modified:** 2026-06-17T07:50:33.660Z

## Who should check

- Anyone running Red Hat Enterprise Linux 6 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 7 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Red Hat OpenShift Container Platform 4 all versions
- Anyone running Red Hat OpenStack Platform 16.2 all versions
- Anyone running Red Hat OpenStack Platform 17.1 all versions
- Anyone running Red Hat OpenStack Platform 18.0 all versions

## Description

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.

## Affected and fixed versions

- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 7: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat OpenStack Platform 16.2: all versions (cvelist)
- Red Hat OpenStack Platform 17.1: all versions (cvelist)
- Red Hat OpenStack Platform 18.0: all versions (cvelist)
- Red Hat OpenStack Platform 18.0: all versions (cvelist)
- Red Hat OpenStack Platform 18.0: all versions (cvelist)

## Mitigation

- Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43168. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43168.md
Affected: Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenStack Platform 16.2 all versions; Red Hat OpenStack Platform 17.1 all versions; Red Hat OpenStac…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4, Red Hat OpenStack Platform 16.2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-43168 being exploited?

There is no confirmed exploitation: CVE-2024-43168 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-43168?

Medium: CVSS 4.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-43168?

Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenStack Platform 16.2 all versions; Red Hat OpenStack Platform 17.1 all versions; Red Hat OpenStack Platform 18.0 all versions; Red Hat OpenStack Platform 18.0 all versions; Red Hat OpenStack Platform 18.0 all versions.

### Is there a fix for CVE-2024-43168?

No fixed version is listed in the sources yet. Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

### How do I check if I'm affected by CVE-2024-43168?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/NLnetLabs/unbound/pull/1040/files>
- other: <https://access.redhat.com/security/cve/CVE-2024-43168>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2303462>
- other: <https://github.com/NLnetLabs/unbound/issues/1039>
- other: <https://lists.debian.org/debian-lts-announce/2024/09/msg00046.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43168>

HTML: <https://flawdb.com/CVE-2024-43168> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43168>
