<Vulnerability name="CVE-2026-18103">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Low</ThreatSeverity>
    <PublicDate>2026-07-28T17:35:55</PublicDate>
    <Bugzilla id="2508081" url="https://bugzilla.redhat.com/show_bug.cgi?id=2508081" xml:lang="en:us">
dhcp-server: dhcp-server: Persistent denial of service due to buffer overflow via OMAPI
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>4.9</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-120</CWE>
    <Details xml:lang="en:us" source="Mitre">
A flaw was found in dhcp-server. A remote attacker with network access to the OMAPI (Open Management Application Programming Interface) port, especially if not secured with TSIG (Transaction Signature) key authentication, could send a specially crafted lease creation request. This request, containing an overly long InfiniBand MAC address, triggers a buffer overflow in the `print_hw_addr()` function. Successful exploitation leads to a persistent denial of service (DoS), causing the `dhcpd` service to crash and preventing it from restarting without manual intervention.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in dhcp-server. A remote attacker with network access to the OMAPI (Open Management Application Programming Interface) port, especially if not secured with TSIG (Transaction Signature) key authentication, could send a specially crafted lease creation request. This request, containing an overly long InfiniBand MAC address, triggers a buffer overflow in the `print_hw_addr()` function. Successful exploitation leads to a persistent denial of service (DoS), causing the `dhcpd` service to crash and preventing it from restarting without manual intervention.
    </Details>
    <Statement xml:lang="en:us">
This flaw has Moderate impact. A buffer overflow in the `dhcpd` service, exploitable via the OMAPI port (7911), can lead to a persistent denial of service. Exploitation requires network access to the OMAPI port, and if TSIG key authentication is not configured, no further credentials are needed. Successful exploitation crashes the `dhcpd` service, preventing its restart without manual intervention.
    </Statement>
    <Acknowledgement xml:lang="en:us">
This issue was discovered by Martin Osvald (Red Hat).
    </Acknowledgement>
    <Mitigation xml:lang="en:us">
To mitigate this issue, secure OMAPI access by configuring TSIG key authentication to prevent unauthorized connections to the OMAPI port (7911). If the `dhcpd` service has already crashed due to this flaw, manually remove the problematic InfiniBand lease entry from `/var/lib/dhcpd/dhcpd.leases` and then restart the `dhcpd` service. Restarting the `dhcpd` service may temporarily interrupt DHCP services for clients.
    </Mitigation>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>dhcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>dhcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>dhcp</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Affected</FixState>
        <PackageName>dhcp</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-18103
https://nvd.nist.gov/vuln/detail/CVE-2026-18103
    </References>
</Vulnerability>