Advisory

DEBIAN-CVE-2026-53583

Also known as: CVE-2026-53583

Summary

The record has no summary.

Details

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, verify_server_cert in src/libgit2/streams/openssl.c uses an inverted !!memcmp result in the GEN_IPADD branch when comparing an IP-literal host with a certificate IP SubjectAltName. OpenSSL builds reject matching IP addresses and accept mismatched IP addresses, allowing a network attacker with a CA-trusted certificate containing any IP SubjectAltName to intercept libgit2 connections to IP-literal HTTPS URLs. DNS SubjectAltName validation and non-OpenSSL TLS backends are not affected. This issue is fixed in versions 1.8.6 and 1.9.5.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-08-20 19:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

libgit2

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.9.0+ds-2+deb13u1 (ecosystem)

Fixed versions

1.9.0+ds-2+deb13u1

Fix

  • Fixed version 1.9.0+ds-2+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgit2

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.9.6+ds-1 (ecosystem)

Fixed versions

1.9.6+ds-1

Fix

  • Fixed version 1.9.6+ds-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences