{"id":"RUSTSEC-2026-0008","revision":null,"records":[{"revision":"1b3c97f335b54e11bf4a0eb7a21409c5","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-j39j-6gw9-jw6h","aliases":["RUSTSEC-2026-0008"],"title":"git2 has potential undefined behavior when dereferencing Buf struct ","description":"If the Buf struct is dereferenced immediately after calling new() or default() on the Buf struct, a null pointer is passed to the unsafe function slice::from_raw_parts. According to the safety section documentation of the function, data must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passing a null pointer will lead to undefined behavior.","state":0,"publishedAt":"2026-02-04T20:36:04+00:00","modifiedAt":"2026-09-10T03:50:35.3086861+00:00","affected":[{"ecosystem":"crates.io","name":"git2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.20.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/rust-lang/git2-rs/issues/1211","https://github.com/rust-lang/git2-rs/pull/1213","https://github.com/rust-lang/git2-rs/commit/9e160f15bd056f82143109bb330573381e5de719","https://github.com/rust-lang/git2-rs","https://rustsec.org/advisories/RUSTSEC-2026-0008.html"],"sourceUrl":"https://github.com/advisories/GHSA-j39j-6gw9-jw6h","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j39j-6gw9-jw6h","identifiers":["GHSA-j39j-6gw9-jw6h","RUSTSEC-2026-0008"]},"retained":false,"historicalAffected":[]},{"revision":"60699e8ced0146aa95bbea807354df0e","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0008","aliases":["GHSA-j39j-6gw9-jw6h"],"title":"Potential undefined behavior when dereferencing Buf struct","description":"if we dereference the Buf struct right after calling new() or default() on Buf struct, it passes Null Pointer to the unsafe function slice::from_raw_parts. Based on the safety section documentation of function,\ndata must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passing Null Pointer will lead to undefined behavior.","state":0,"publishedAt":"2026-02-02T12:00:00+00:00","modifiedAt":"2026-02-05T06:56:18.869923+00:00","affected":[{"ecosystem":"crates.io","name":"git2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.20.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/git2","https://rustsec.org/advisories/RUSTSEC-2026-0008.html","https://github.com/rust-lang/git2-rs/pull/1213"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0008","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0008","identifiers":["RUSTSEC-2026-0008","GHSA-j39j-6gw9-jw6h"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-17T13:30:05.9542452+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-17T13:30:05.9542452+00:00","lastSuccessAt":"2026-11-17T13:30:08.648879+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:30:08.6488858+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-30c3da459c38698a15d626d89e52e03e55e19fc45dae0e6d8d723cbf35472cf4-240f0212e36c56a84920dcaf6ffbdddf1fbc8b0a948bd944c451cbf7328969f3","complete":true,"records":426331,"lastAttemptAt":"2026-11-17T13:26:17.7319446+00:00","lastSuccessAt":"2026-11-17T13:26:17.6611822+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:26:17.7319446+00:00","snapshotPublishedAt":"2026-11-17T13:24:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-dccc255467134701bc6dd28e35cb87a9","complete":false,"records":13840,"lastAttemptAt":"2026-11-17T13:41:32.3800822+00:00","lastSuccessAt":"2026-11-17T13:41:32.374+00:00","error":"393 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-17T13:41:32.374+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13324,"expectedIdentifiers":13890,"failedIdentifiers":393},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-17T13:30:05.9542452+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-17T13:30:05.9542452+00:00","lastSuccessAt":"2026-11-17T13:30:08.6528714+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:30:08.6528721+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8b032702cacd4aa1aabb59f12bcc0dac","complete":true,"records":13853,"lastAttemptAt":"2026-11-17T13:30:21.1491867+00:00","lastSuccessAt":"2026-11-17T13:30:21.128+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:30:21.128+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13890,"expectedIdentifiers":13890,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-66941ff4149395c0d1a7082fb2226c4cd21c13f3179212d5083b3970d0d2aa5f","complete":true,"records":9958,"lastAttemptAt":"2026-11-17T13:30:05.2355665+00:00","lastSuccessAt":"2026-11-17T07:28:38.090533+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:30:05.2355665+00:00","snapshotPublishedAt":"2026-11-17T07:18:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-17T13:26:19.6192912+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:26:19.6192912+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5f9b762c8d9707349bf2314d182e55bec21d771dbccab0df7bdffa40d8f89f37","complete":true,"records":3166,"lastAttemptAt":"2026-11-17T13:30:05.8303295+00:00","lastSuccessAt":"2026-11-17T11:30:06.6446748+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:30:05.8303295+00:00","snapshotPublishedAt":"2026-11-17T10:33:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-1b23fe1fcc8846ea8adc5f94151dfba9de4400f51d4b063ed7f403334889a0e2","complete":true,"records":232595,"lastAttemptAt":"2026-11-17T13:30:03.767104+00:00","lastSuccessAt":"2026-11-17T13:30:02.1623938+00:00","error":null,"lastVerifiedAt":"2026-11-17T13:30:03.767104+00:00","snapshotPublishedAt":"2026-11-17T12:33:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}