CVE-2026-55785

Summary

free5GC is an open-source implementation of the 5G core network. Prior to 1.4.5, the AUSF component performs cryptographic authentication comparisons in internal/sbi/processor/ue_authentication.go with ordinary equality helpers. Auth5gAkaComfirmRequestProcedure compares RES* and XRES* with strings.EqualFold and logs the expected XRES* value at INFO level before comparison. EapAuthComfirmRequestProcedure compares AT_MAC and XMAC with bytes.Equal and evaluates XRES == RES with ordinary string equality. These comparisons can return at mismatch-dependent times, although testing did not demonstrate a practical remote timing oracle because of HTTP/SBI timing noise. The INFO log exposes authentication material to operators, log collectors, sidecars, or processes able to read AUSF logs. This issue is fixed in version 1.4.5.

Affected Software

VendorProductVersion RangeStatus
free5gcfree5gc< 1.4.5affected

Weaknesses

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

References