Echo: libgit2: security update to 1.9.0+ds-2+deb13u1

high Tenable Self-Hosted Container Security Plugin ID 462821

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid
API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, libgit2 performs
a fixed-size strncmp in set_data in src/libgit2/transports/smart_pkt.c without first verifying that the
smart-protocol pkt-line capability buffer contains 14 bytes. A malicious Git server can make bytes after
the pkt-line complete object-format=, causing format_str to advance beyond the pkt-line and the following
memchr length calculation to underflow. The resulting heap out-of-bounds walk can crash a client during
the first refs-advertisement packet over HTTP, HTTPS, SSH, or the Git protocol. This issue is fixed in
versions 1.8.6 and 1.9.5. (CVE-2026-53587)

Solution

Update the libgit2 library and its related packages to version 1.9.0+ds-2+deb13u1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-53587

Plugin Details

Severity: High

ID: 462821

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.61

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-53587

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/31/2026

Vulnerability Publication Date: 7/23/2026

Reference Information

CVE: CVE-2026-53587