CVE-2025-59089CWE-770

Python-kdcproxy: remote dos via unbounded tcp upstream buffering

Medium · published November 12, 2025

CVSS v3.1
5.9
EPSS
1%
Percentile
45.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00560 · 45.8th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-11-12T16:40Z
EPSS history
Timeline
  • 12 NOV 16:40Z
    Python-kdcproxy: remote dos via unbounded tcp upstream buffering
    cvelistv5