Advisory

UBUNTU-CVE-2026-53584

Also known as: CVE-2026-53584

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, libgit2 does not reject traversal components in a submodule path loaded from .gitmodules. The affected src/libgit2/submodule.c paths include git_submodule_lookup and git_submodule_add_setup. A crafted repository can specify a path such as ../escape-target, and applications that initialize the submodule can create directories outside the repository working tree. This issue is fixed in versions 1.8.6 and 1.9.5.

Severity

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

Dates

Published
2026-07-31 00:00 UTC
Modified
2026-09-24 02:00 UTC

Affected packages and fixes

libgit2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.7.2+ds-1ubuntu3.1 (ecosystem)

Fixed versions

1.7.2+ds-1ubuntu3.1

Fix

  • Fixed version 1.7.2+ds-1ubuntu3.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.

libgit2

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.9.1+ds-1ubuntu1.1 (ecosystem)

Fixed versions

1.9.1+ds-1ubuntu1.1

Fix

  • Fixed version 1.9.1+ds-1ubuntu1.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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences