Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/free5gc/ausf
  4. ›
  5. CVE-2026-55785

CVE-2026-55785: free5GC AUSF uses non-constant-time authentication comparisons and logs XRES* in 5G-AKA

August 28, 2026

The AUSF component of free5GC compares authentication response values with normal Go equality helpers instead of constant-time cryptographic comparison functions.

Two authentication flows are affected in internal/sbi/processor/ue_authentication.go:

  1. 5G-AKA confirmation compares RES* and XRES* with strings.EqualFold().
  2. EAP-AKA’ confirmation compares AT_MAC with bytes.Equal() and compares XRES and RES with ==.

These functions are not designed to be constant-time cryptographic comparators and may return earlier depending on the location of the first mismatch.

Additionally, the 5G-AKA confirmation path logs both the received res* and the expected Xres* at INFO level immediately before comparing them. The XRES* value is authentication material and should not be written to application logs.

The timing side channel was confirmed as a code issue, but practical exploitation over HTTP was not demonstrated in the lab because the comparator-level signal is much smaller than HTTP/SBI noise. The XRES* logging issue is directly observable in AUSF logs.

Confirmed on github.com/free5gc/ausf v1.4.4 and current main as of the May 2026 analysis.

References

  • github.com/advisories/GHSA-fp46-6vfw-gc9c
  • github.com/free5gc/ausf/commit/7a5a4aa1ec6cd0e1febebf333911c3104968edf0
  • github.com/free5gc/free5gc/security/advisories/GHSA-fp46-6vfw-gc9c
  • nvd.nist.gov/vuln/detail/CVE-2026-55785

Code Behaviors & Features

Detect and mitigate CVE-2026-55785 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.5

Fixed versions

  • 1.4.5

Solution

Upgrade to version 1.4.5 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy
  • CWE-385: Covert Timing Channel
  • CWE-532: Insertion of Sensitive Information into Log File

Source file

go/github.com/free5gc/ausf/CVE-2026-55785.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 09 Sep 2026 12:21:21 +0000.