# CVE-2025-59089: Python-kdcproxy: remote dos via unbounded tcp upstream buffering

- Severity: Medium 5.9 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-11-12T16:40:50.725Z
- Modified: 2026-06-30T05:17:25.493Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kdcproxy: before 1.1.0
- python-kdcproxy: no versions given (not affected: from 0:1.0.0-19.el10_1 before *; from 0:1.0.0-19.el10_0 before *; from 0:0.3.2-3.el7_9.3 before *; from 0:1.0.0-9.el9_7 before *; from 0:1.0.0-7.el9_0.1 before *; from 0:1.0.0-7.el9_2.1 before *; from 0:1.0.0-7.el9_4.1 before *; from 0:1.0.0-9.el9_6 before *)
- idm:client: no versions given (not affected: from 8100020251103113748.143e9e98 before *)
- idm:DL1: no versions given (not affected: from 8100020251028161822.823393f5 before *; from 8020020251106022345.792f4060 before *; from 8040020251103205102.5b01ab7e before *; from 8060020251030180424.ada582f1 before *; from 8080020251029082621.b0a6ceea before *)

## References

- <https://access.redhat.com/errata/RHSA-2025:21138> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21139> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21140> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21141> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21142> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21448> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21748> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21806> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21818> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21819> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21820> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:21821> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:22982> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-59089> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2393958> (issue-tracking)
- <https://github.com/latchset/kdcproxy/commit/c7675365aa20be11f03247966336c7613cac84e1>
- <https://github.com/latchset/kdcproxy/pull/68>

## Sources

- CVE List: [CVE-2025-59089](https://www.cve.org/CVERecord?id=CVE-2025-59089), CVE Terms of Use, modified 2026-06-30
- NVD: [CVE-2025-59089](https://nvd.nist.gov/vuln/detail/CVE-2025-59089), Public domain, modified 2026-06-30

---

Page: https://cve.day/CVE-2025-59089 · Whole record: https://cve.day/CVE-2025-59089.json · Rebuilt by cve.day 2026-11-25T22:59:07.574Z
