CVE-2025-59089
Python-kdcproxy: remote dos via unbounded tcp upstream buffering
Check your servers for CVE-2025-59089
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-59089 affects python-kdcproxy, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
If an attacker causes kdcproxy to connect to an attacker-controlled KDC server (e.g. through server-side request forgery), they can exploit the fact that kdcproxy does not enforce bounds on TCP response length to conduct a denial-of-service attack. While receiving the KDC's response, kdcproxy copies the entire buffered stream into a new buffer on each recv() call, even when the transfer is incomplete, causing excessive memory allocation and CPU usage. Additionally, kdcproxy accepts incoming response chunks as long as the received data length is not exactly equal to the length indicated in the response header, even when individual chunks or the total buffer exceed the maximum length of a Kerberos message. This allows an attacker to send unbounded data until the connection timeout is reached (approximately 12 seconds), exhausting server memory or CPU resources. Multiple concurrent requests can cause accept queue overflow, denying service to legitimate clients.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.55%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Nov 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
kdcproxy
package
kdcproxy |
affected before 1.1.0
Other versions: unaffected
|
|
Red Hat Enterprise Linux 10
package
python-kdcproxy |
unaffected 0:1.0.0-19.el10_1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10.0 Extended Update Support
package
python-kdcproxy |
unaffected 0:1.0.0-19.el10_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
python-kdcproxy |
unaffected 0:0.3.2-3.el7_9.3 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
idm:client |
unaffected 8100020251103113748.143e9e98 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
idm:DL1 |
unaffected 8100020251028161822.823393f5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
idm:DL1 |
unaffected 8020020251106022345.792f4060 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
idm:DL1 |
unaffected 8040020251103205102.5b01ab7e and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
idm:DL1 |
unaffected 8040020251103205102.5b01ab7e and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
idm:DL1 |
unaffected 8060020251030180424.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
idm:DL1 |
unaffected 8060020251030180424.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
idm:DL1 |
unaffected 8060020251030180424.ada582f1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
idm:DL1 |
unaffected 8080020251029082621.b0a6ceea and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
idm:DL1 |
unaffected 8080020251029082621.b0a6ceea and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
python-kdcproxy |
unaffected 0:1.0.0-9.el9_7 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
python-kdcproxy |
unaffected 0:1.0.0-7.el9_0.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
python-kdcproxy |
unaffected 0:1.0.0-7.el9_2.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Extended Update Support
package
python-kdcproxy |
unaffected 0:1.0.0-7.el9_4.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.6 Extended Update Support
package
python-kdcproxy |
unaffected 0:1.0.0-9.el9_6 and later
Other versions: affected
|
Is my server affected?
Find the installed version of python-kdcproxy and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i python-kdcproxy
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-59089 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-59089RHEL, Rocky, Alma, Fedora
rpm -q python-kdcproxy
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-59089Alpine
apk list --installed | grep -i python-kdcproxyWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-59089
trivy image --scanners vuln IMAGE | grep CVE-2025-59089
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2025:21138 access.redhat.com · vendor advisory
- RHSA-2025:21139 access.redhat.com · vendor advisory
- RHSA-2025:21140 access.redhat.com · vendor advisory
- RHSA-2025:21141 access.redhat.com · vendor advisory
- RHSA-2025:21142 access.redhat.com · vendor advisory
- RHSA-2025:21448 access.redhat.com · vendor advisory
- RHSA-2025:21748 access.redhat.com · vendor advisory
- RHSA-2025:21806 access.redhat.com · vendor advisory
- RHSA-2025:21818 access.redhat.com · vendor advisory
- RHSA-2025:21819 access.redhat.com · vendor advisory
- RHSA-2025:21820 access.redhat.com · vendor advisory
- RHSA-2025:21821 access.redhat.com · vendor advisory
- RHSA-2025:22982 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2025-59089 access.redhat.com · vdb entry
- RHBZ#2393958 bugzilla.redhat.com · issue tracking
Other references
- https://github.com/latchset/kdcproxy/commit/c7675365aa20be11f03247966336c7613cac84e1 github.com
- https://github.com/latchset/kdcproxy/pull/68 github.com
Source: the record CVE-2025-59089 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse