free5GC AUSF uses non-constant-time authentication comparisons and logs XRES* in 5G-AKA (CVE-2026-55785)
Description
The AUSF component of free5GC (versions prior to 1.4.5) uses non-constant-time comparison functions for authentication response values in 5G-AKA and EAP-AKA' flows. Additionally, sensitive authentication material (XRES*) is logged at INFO level in the 5G-AKA flow, exposing it to anyone with access to AUSF logs. While timing side-channel leakage was confirmed in code, practical remote exploitation over HTTP was not demonstrated due to noise. The vulnerability has a low CVSS score and a patch is available.
CVSS v3.1
Score 3.7low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
free5GC AUSF compares authentication response values using non-constant-time functions such as strings.EqualFold() and bytes.Equal() instead of constant-time cryptographic comparison functions, leading to potential timing side-channel leakage. In the 5G-AKA flow, the AUSF logs both the received RES* and expected XRES* values at INFO level before comparison, exposing sensitive authentication material. The EAP-AKA' flow similarly uses non-constant-time comparisons for AT_MAC and RES values. Static analysis confirmed these issues in the codebase (github.com/free5gc/ausf v1.4.4 and main branch as of May 2026). Timing differences at the comparator level are too small to be reliably exploited remotely over HTTP/SBI due to noise. The logging of XRES* is directly observable and poses an information exposure risk.
Potential Impact
The vulnerability allows potential timing side-channel attacks due to non-constant-time comparisons of authentication values, which could theoretically leak secret authentication material. However, practical remote exploitation is unlikely due to high noise in the HTTP/SBI communication path. The logging of XRES* values at INFO level exposes sensitive authentication material to anyone with access to AUSF logs, increasing the risk of credential exposure. The overall impact is limited confidentiality exposure without direct integrity or availability impact.
Mitigation Recommendations
A patch is available for free5GC AUSF to replace non-constant-time comparison functions with constant-time cryptographic comparisons and to remove logging of sensitive authentication material. Users should upgrade to version 1.4.5 or later. Until patched, restrict access to AUSF logs to trusted personnel only to mitigate exposure of XRES* values. No other immediate action is required as the timing side-channel is difficult to exploit remotely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fp46-6vfw-gc9c
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-55785"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6a92f7e4acd9273b49e75d7f
Added to database: 08/29/2026, 15:16:52 UTC
Last enriched: 09/09/2026, 20:09:03 UTC
Last updated: 10/13/2026, 06:48:18 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.