libgit2: Inverted IP SubjectAltName Comparison in OpenSSL Backend
CVE-2026-53583 is fixed in 28 products on 1 platform, first by DEBIAN-CVE-2026-53583, released July 31, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cargo · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| cargo-debuginfo · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| clippy · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| clippy-debuginfo · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| libgit2 · Debian 13.5 (trixie) | 1.9.0+ds-2+deb13u1 | DEBIAN-CVE-2026-53583 | Jul 31, 2026 |
| libgit2 · Debian 14 | 1.9.6+ds-1 | DEBIAN-CVE-2026-53583 | Jul 31, 2026 |
| libgit2 · amzn 2023 | 1.6.4-116.amzn2023 | ALAS2023-2026-2083 | Aug 31, 2026 |
| libgit2-1.7 · Ubuntu 24.04.5 LTS (noble) | 1.7.2+ds-1ubuntu3.3 | libgit2-1.7 1.7.2+ds-1ubuntu3.3 | Aug 20, 2026 |
| libgit2-1.9 · Ubuntu 26.04.1 LTS (resolute) | 1.9.1+ds-1ubuntu1.3 | libgit2-1.9 1.9.1+ds-1ubuntu1.3 | Aug 20, 2026 |
| libgit2-debuginfo · amzn 2023 | 1.6.4-116.amzn2023 | ALAS2023-2026-2083 | Aug 31, 2026 |
| libgit2-debugsource · amzn 2023 | 1.6.4-116.amzn2023 | ALAS2023-2026-2083 | Aug 31, 2026 |
| libgit2-devel · amzn 2023 | 1.6.4-116.amzn2023 | ALAS2023-2026-2083 | Aug 31, 2026 |
| libgit2-fixtures · Ubuntu 24.04.5 LTS (noble) | 1.7.2+ds-1ubuntu3.3 | libgit2-fixtures 1.7.2+ds-1ubuntu3.3 | Aug 20, 2026 |
| libgit2-fixtures · Ubuntu 26.04.1 LTS (resolute) | 1.9.1+ds-1ubuntu1.3 | libgit2-fixtures 1.9.1+ds-1ubuntu1.3 | Aug 20, 2026 |
| rust · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-analyzer · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-analyzer-debuginfo · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-debugger-common · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-debuginfo · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-debugsource · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-doc · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-gdb · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-lldb · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-src · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-std-static · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-std-static-wasm32-unknown-unknown · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-std-static-wasm32-wasip1 · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-toolset · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rust-toolset-srpm-macros · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rustfmt · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
| rustfmt-debuginfo · amzn 2023 | 1.97.0-2.amzn2023 | ALAS2023-2026-2065 | Aug 17, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.