PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-53583 libgit2 CVE debrief

A vulnerability in libgit2, a portable C implementation of the Git core methods, allows a network attacker with a CA-trusted certificate containing any IP SubjectAltName to intercept libgit2 connections to IP-literal HTTPS URLs. This issue is fixed in versions 1.8.6 and 1.9.5. The vulnerability is caused by 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.

Vendor
libgit2
Product
Unknown
CVSS
MEDIUM 6.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-20
Original CVE updated
2026-09-09
Advisory published
2026-08-20
Advisory updated
2026-09-09

Who should care

Defenders responsible for libgit2 connections to IP-literal HTTPS URLs should assess exposure and prioritize upgrading to fixed versions. This includes operators, platform administrators, vulnerability management teams, and security teams who manage libgit2 deployments.

Why it matters

A vulnerability in libgit2 allows network attackers to intercept connections with CA-trusted certificates, requiring defenders to verify exposure and upgrade to fixed versions.

  • Network attackers can intercept libgit2 connections to IP-literal HTTPS URLs with CA-trusted certificates
  • Verify libgit2 connections to IP-literal HTTPS URLs for potential exposure
  • Upgrade to libgit2 version 1.8.6 or 1.9.5 to prevent exploitation
  • Review and update CA-trusted certificates to prevent exploitation

Technical summary

The vulnerability is caused by 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. This issue is fixed in versions 1.8.6 and 1.9.5. Affected product deployments should be reviewed for exposure and upgraded to fixed versions.

Defensive priority

Defenders should prioritize verifying exposure of libgit2 connections to IP-literal HTTPS URLs and upgrading to fixed versions.

Recommended defensive actions

  • Verify libgit2 connections to IP-literal HTTPS URLs for potential exposure
  • Upgrade to libgit2 version 1.8.6 or 1.9.5
  • Review and update CA-trusted certificates to prevent exploitation
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The vulnerability is caused by 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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-53583 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-53583

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-53583 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-53583

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.