CVE-2007-2798 in Canonical Ubuntu Linux and 2 more products
Stack-based buffer overflow in the rename_principal_2_svc function in kadmind for MIT Kerberos 1.5.3, 1.6.1, and other versions allows remote authenticated users to execute arbitrary code via a crafted request to rename a principal.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 6.06 6.10 7.04 |
| Debian | Debian Linux | 3.1 4.0 |
| Mit | Kerberos 5 | ≤ 1.6.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Stack-based buffer overflow in the rename_principal_2_svc function in kadmind for MIT Kerberos 1.5.3, 1.6.1, and other versions allows remote authenticated users to execute arbitrary code via a crafted request to rename a principal.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-2798 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-018016-C |
| CVSS vector | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| Published | 2007-06-26 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2007. A critical vulnerability affects Canonical systems (CVE-2007-2798). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Stack-based buffer overflow in the rename_principal_2_svc function in kadmind for MIT Kerberos 1.5.3, 1.6.1, and other versions allows remote authenticated users to execute arbitrary code via a crafted request to rename a principal. CVSS vector: AV:N/AC:L/Au:S/C:C/I:C/A:C.
Questions
What is CVE-2007-2798?
This vulnerability was disclosed in 2007. A critical vulnerability affects Canonical systems (CVE-2007-2798). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2007-2798?
CVE-2007-2798 has CVSS 9.0 (Critical). Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C. EPSS: 7.5%.
Is CVE-2007-2798 actively exploited?
No confirmed active exploitation of CVE-2007-2798 as of 2026-09-25.
How do I remediate CVE-2007-2798?
Priority: MEDIUM. Advisory: http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2007-005.txt PSIRT: [email protected]
What systems are affected by CVE-2007-2798?
CVE-2007-2798 affects Canonical Ubuntu Linux; Debian Debian Linux; Mit Kerberos 5.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.