Cloudanix VulnDB

CVE-2025-8114

Medium · 4.7

CVSS

4.7

EPSS

0.3%

Published

Jul 24, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in software used for secure network connections can make programs crash when certain rare memory conditions occur.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
High
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Null pointer dereference during libssh session ID calculation in KEX when cryptographic allocation fails, resulting in client or server process crash.

Why it matters to the business

Causes denial-of-service against SSH-dependent services and tools, leading to connection failures and operational disruption in environments using the affected library; low exploit probability but affects container credential helpers.

How an attack unfolds

An attacker with local low-privileged access crafts conditions to induce memory allocation failure inside libssh cryptographic routines during key exchange; the resulting NULL dereference terminates the SSH process.

How to fix it

Upgrade docker-credential-gcr-fips (Chainguard) to version 2.1.30-r3 or later; rebuild or redeploy any images depending on the vulnerable package.

How to confirm the fix worked

Confirm installed package version meets or exceeds the fixed release; test SSH connectivity and monitor for absence of crashes during KEX under memory pressure.

Typical attack path

  1. Obtain local access to the target system
  2. Initiate or observe an SSH key exchange that triggers allocation failure in libssh crypto functions
  3. Trigger NULL pointer dereference causing process termination

How to detect it

Inspect system and application logs for segmentation faults or abrupt terminations in libssh-using processes during key exchange; correlate with memory allocation events.

What your security team should do

  • Apply the listed package upgrade immediately in all Chainguard-based environments
  • Scan container images and runtime instances for the vulnerable version
  • Review SSH service logs for unexpected crashes coinciding with key exchange

The record

A flaw was found in libssh, a library that implements the SSH protocol. When calculating the session ID during the key exchange (KEX) process, an allocation failure in cryptographic functions may lead to a NULL pointer dereference. This issue can cause the client or server to crash.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard libssh 0 0.11.3-r0
Chainguard libssh-dev 0 0.11.3-r0
Debian:11 libssh 0 No fix
Debian:12 libssh 0 No fix
Debian:13 libssh 0 No fix
Debian:14 libssh 0 No fix
SUSE:Linux Enterprise Micro 5.1 libssh 0 0.9.8-150200.13.12.1
SUSE:Linux Enterprise Micro 5.2 libssh 0 0.9.8-150200.13.12.1
SUSE:Linux Enterprise Micro 5.3 libssh 0 0.9.8-150400.3.12.1
SUSE:Linux Enterprise Micro 5.4 libssh 0 0.9.8-150400.3.12.1
SUSE:Linux Enterprise Micro 5.5 libssh 0 0.9.8-150400.3.12.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 libssh 0 0.9.8-150600.11.6.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7 libssh 0 0.9.8-150600.11.6.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 libssh 0 0.9.8-3.18.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 libssh 0 0.6.3-12.21.1
Wolfi libssh 0 0.11.3-r0
Wolfi libssh-dev 0 0.11.3-r0
openSUSE:Leap 15.6 libssh 0 0.9.8-150600.11.6.1
openSUSE:Tumbleweed libssh 0 0.11.3-1.1

Related vulnerabilities