{"id":"DHI-m6c6-yylt-glo5-yt32","summary":"PyO3 0.24.0 added optimized implementations of `Iterator::nth` and `DoubleEndedIterator::nth_back` for the…","details":"PyO3 0.24.0 added optimized implementations of `Iterator::nth` and `DoubleEndedIterator::nth_back` for the `BoundListIterator` and `BoundTupleIterator` types. These implementations computed the target index using unchecked `usize` addition (`index + n`) before bounds-checking against the sequence length, then read the element via `get_item_unchecked`.\n\nIn `nth` methods, a sufficiently large `n` (combined with a non-zero internal index) could cause the addition to overflow and wrap around, producing a small \"target index\" that passed the bounds check and enabling reads at the front of the `list` or `tuple` of elements previously yielded by the iterator.\n\nIn `nth_back` methods, a sufficiently large `n` could cause underflow in a similar fashion, however would instead allow reads of arbitrary memory past the end of the `list` or `tuple` storage.","modified":"2026-11-20T17:00:59.308042913Z","published":"2026-11-10T03:38:44Z","upstream":["GHSA-36hh-v3qg-5jq4"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-m6c6-yylt-glo5-yt32"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-36hh-v3qg-5jq4"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0176.html"},{"type":"FIX","url":"https://github.com/PyO3/pyo3/pull/6086"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0176"}],"affected":[{"package":{"name":"datadog-agent-core-7-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-core-7-fips"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-core-7","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-core-7"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json","owner_kind":"HSP"}},{"package":{"name":"datadog-agent-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-dev"},"versions":["7.80.2-0","7.80.2-1","7.80.2-10","7.80.2-11","7.80.2-12","7.80.2-13","7.80.2-14","7.80.2-15","7.80.2-2","7.80.2-3","7.80.2-4","7.80.2-5","7.80.2-6","7.80.2-7","7.80.2-8","7.80.2-9","7.84.4-0","7.84.6-0","7.84.6-1","7.84.6-2","7.85.0-0","7.85.1-0","7.85.1-1","7.85.2-0","7.85.2-1","7.85.2-2","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-12","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json","owner_kind":"HSP"}},{"package":{"name":"datadog-agent-fips-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-fips-dev"},"versions":["7.80.2-0","7.80.2-1","7.80.2-10","7.80.2-11","7.80.2-12","7.80.2-13","7.80.2-14","7.80.2-2","7.80.2-3","7.80.2-4","7.80.2-5","7.80.2-6","7.80.2-7","7.80.2-8","7.80.2-9","7.84.4-0","7.84.6-0","7.84.6-1","7.84.6-2","7.85.0-0","7.85.1-0","7.85.1-1","7.85.2-0","7.85.2-1","7.85.2-2","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-12","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-fips"},"versions":["7.80.2-0","7.80.2-1","7.80.2-10","7.80.2-11","7.80.2-12","7.80.2-13","7.80.2-14","7.80.2-2","7.80.2-3","7.80.2-4","7.80.2-5","7.80.2-6","7.80.2-7","7.80.2-8","7.80.2-9","7.84.4-0","7.84.6-0","7.84.6-1","7.84.6-2","7.85.0-0","7.85.1-0","7.85.1-1","7.85.2-0","7.85.2-1","7.85.2-2","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-12","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-integrations-7","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-integrations-7"},"versions":["7.85.1-0","7.85.1-1","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-2","7.85.4-3","7.85.4-4","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-jmxfetch-7","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-jmxfetch-7"},"versions":["0.52.0-0","0.52.0-1","0.52.0-2","0.52.0-3","0.52.0-4","0.52.0-5","0.52.0-6"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-process-7-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-process-7-fips"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json","owner_kind":"HSP"}},{"package":{"name":"datadog-agent-process-7","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-process-7"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-security-7-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-security-7-fips"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-security-7","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-security-7"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-trace-7-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-trace-7-fips"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent-trace-7","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent-trace-7"},"versions":["7.85.1-0","7.85.2-0","7.85.2-1","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json"}},{"package":{"name":"datadog-agent","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datadog-agent"},"versions":["7.80.2-0","7.80.2-1","7.80.2-10","7.80.2-11","7.80.2-12","7.80.2-13","7.80.2-14","7.80.2-15","7.80.2-2","7.80.2-3","7.80.2-4","7.80.2-5","7.80.2-6","7.80.2-7","7.80.2-8","7.80.2-9","7.84.4-0","7.84.6-0","7.84.6-1","7.84.6-2","7.85.0-0","7.85.1-0","7.85.1-1","7.85.2-0","7.85.2-1","7.85.2-2","7.85.3-0","7.85.4-0","7.85.4-1","7.85.4-10","7.85.4-11","7.85.4-12","7.85.4-2","7.85.4-3","7.85.4-4","7.85.4-5","7.85.4-6","7.85.4-7","7.85.4-8","7.85.4-9","7.85.5-0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-m6c6-yylt-glo5-yt32.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}