{"id":"DHI-hyev-i7f2-fvlf-yzsh","summary":"## Summary","details":"## Summary\n\nAny user using the AVX-512 backend of `curve25519-dalek` could have produced incorrect outputs on computations involving a scalar multiplication on an attacker-chosen Edwards or Ristretto point. This affects all versions of `curve25519-dalek` in the range `1.1.0–5.0.0`, inclusive. No other backends are affected: `serial`, `fiat`, and `simd` (AVX2) are all fine.\n\n## Who Is Affected\n\nAnyone who used `curve25519-dalek` with the AVX-512 backend. Here is how that would happen, based on crate version:\n\n|Version|How AVX-512 backend is enabled|\n|-------|----------------------|\n|`5.0.0` | The crate must be compiled with `--cfg curve25519_dalek_backend=\"avx512\"` or built with `target_feature=+avx512ifma,+avx512vl` (or `-C target-cpu=native` on an AVX-512 target) on `rustc` ≥ 1.89 or nightly. In addition, the CPU it's being run on must have those features (runtime selection) |\n|`4.2.0–5.0.0-rc.1` | The crate must be compiled with `--cfg curve25519_dalek_backend=\"unstable_avx512\"` on nightly. |\n|`4.0.0–4.1.3` | The crate must be compiled with nightly and the CPU it's being run on must have `avx512ifma` and `avx512vl` (i.e., runtime backend selection). |\n|`1.1.0–3.2.1` | The nightly-only `simd_backend` feature must be set and the build must have `target_feature=+avx512ifma` |\n\n## Impact\n\nOn the AVX-512 backend, Edwards or Ristretto computations including scalar multiplication with an attacker-chosen point could be made to be incorrect. No other backends are affected. x-only multiplication used in `x25519-dalek` is unaffected. `ed25519-dalek` _may_ be affected, though, in the worst case, a valid signature under an attacker-chosen public key would appear as invalid.\n\n## Workaround\n\nThe workaround depends on the version you're using:\n\n|Version|Workaround|\n|-------|----------|\n|`5.0.0` | Do not compile with `--cfg curve25519_dalek_backend=\"avx512\"` and do not build with `target_feature=+avx512ifma,+avx512vl` or `-C target-cpu=native` on an AVX-512 target. You can set `--cfg curve25519_dalek_backend=\"simd\"` instead. |\n|`4.2.0–5.0.0-rc.1` | Do not set `--cfg curve25519_dalek_backend=\"unstable_avx512\"`. Or compile on stable. |\n|`4.0.0–4.1.3` | Override the backend to `--cfg curve25519_dalek_backend=\"serial\"`, or compile on stable. |\n|`1.1.0–3.2.1` | Do not set the `simd_backend` feature. Or do not set `target_feature=+avx512ifma` or `-C target-cpu=native` on an AVX-512 target in the build. |\n\n## More Details\n\nA more complete writeup can be found at https://github.com/dalek-cryptography/curve25519-dalek/issues/934","modified":"2026-11-29T22:15:02.314106808Z","published":"2026-11-29T16:55:43Z","upstream":["RUSTSEC-2026-0620"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-hyev-i7f2-fvlf-yzsh"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0620"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0620.html"},{"type":"WEB","url":"https://github.com/dalek-cryptography/curve25519-dalek/issues/934"}],"affected":[{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/vaultwarden-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.37.3-r0"}]}],"versions":["1.37.3-r0","1.37.4-r0","1.37.5-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/vaultwarden-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.37.3-r0"}]}],"versions":["1.37.3-r0","1.37.4-r0","1.37.5-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"apollo-mcp-server-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/apollo-mcp-server-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.20.0-1"}]}],"versions":["1.20.0-1","1.20.0-10","1.20.0-11","1.20.0-12","1.20.0-13","1.20.0-14","1.20.0-15","1.20.0-2","1.20.0-3","1.20.0-4","1.20.0-6","1.20.0-7","1.20.0-8","1.20.0-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"apollo-mcp-server-2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/apollo-mcp-server-2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-0"}]}],"versions":["2.0.0-0","2.0.0-1","2.1.0-0","2.1.0-1","2.1.0-2","2.1.0-4","2.1.0-5","2.1.0-6","2.2.1-0","2.2.1-1","2.2.1-2","2.2.1-3","2.2.1-4","2.2.1-5","2.3.0-0","2.3.0-1","2.3.0-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"apollo-mcp-server","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/apollo-mcp-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0-0"}]}],"versions":["1.17.0-0","1.18.0-0","1.19.0-0","1.20.0-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"meilisearch","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/meilisearch"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.53.1-0"}]}],"versions":["1.53.1-0","1.53.2-0","1.54.0-0","1.54.1-0","1.54.2-0","1.54.3-0","1.55.0-0","1.56.0-0","1.56.1-0","1.56.2-0","1.57.0-0","1.57.0-1","1.58.0-0","1.58.0-1","1.58.0-2","1.58.0-3","1.58.0-4","1.58.0-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"mise","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/mise"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2026.9.10-0"}]}],"versions":["2026.10.0-0","2026.10.1-0","2026.10.10-0","2026.10.12-0","2026.10.13-0","2026.10.14-0","2026.10.15-0","2026.10.17-0","2026.10.18-0","2026.10.19-0","2026.10.20-0","2026.10.21-0","2026.10.22-0","2026.10.23-0","2026.10.24-0","2026.10.25-0","2026.10.3-0","2026.10.4-0","2026.10.5-0","2026.10.7-0","2026.10.8-0","2026.10.9-0","2026.11.0-0","2026.11.1-0","2026.11.10-0","2026.11.11-0","2026.11.12-0","2026.11.12-1","2026.11.13-0","2026.11.14-0","2026.11.14-1","2026.11.14-2","2026.11.14-3","2026.11.14-4","2026.11.15-0","2026.11.2-0","2026.11.3-0","2026.11.4-0","2026.11.5-0","2026.11.6-0","2026.11.7-0","2026.11.8-0","2026.11.9-0","2026.9.10-0","2026.9.18-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"qdrant","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/qdrant"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.18.3-0"}]}],"versions":["1.18.3-0","1.18.3-1","1.18.3-2","1.19.0-0","1.19.0-1","1.19.0-2","1.19.0-3","1.19.0-4","1.19.0-5","1.19.0-6","1.19.1-1","1.19.1-2","1.19.1-3","1.19.1-4","1.19.1-5","1.19.1-6","1.19.1-7","1.19.2-0","1.19.2-1","1.19.2-2","1.20.0-0","1.20.0-1","1.20.0-2","1.20.0-3","1.20.0-4","1.20.0-6","1.20.0-7","1.20.0-8","1.20.1-0","1.20.2-0","1.20.2-1","1.20.2-2","1.20.2-3","1.20.2-4","1.20.2-5","1.20.2-6","1.20.2-7","1.20.2-8","1.20.2-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"teleport-17-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-17-dev"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.7.29-2"}]}],"versions":["17.7.29-10","17.7.29-11","17.7.29-12","17.7.29-13","17.7.29-14","17.7.29-15","17.7.29-16","17.7.29-17","17.7.29-18","17.7.29-19","17.7.29-2","17.7.29-20","17.7.29-21","17.7.29-22","17.7.29-23","17.7.29-24","17.7.29-25","17.7.29-3","17.7.29-4","17.7.29-5","17.7.29-6","17.7.29-7","17.7.29-8","17.7.29-9","17.7.34-0","17.7.34-1","17.7.34-10","17.7.34-11","17.7.34-2","17.7.34-3","17.7.34-4","17.7.34-5","17.7.34-6","17.7.34-7","17.7.34-8","17.7.34-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json","owner_kind":"HSP"}},{"package":{"name":"teleport-17-fips-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-17-fips-dev"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.7.29-2"}]}],"versions":["17.7.29-10","17.7.29-11","17.7.29-12","17.7.29-13","17.7.29-14","17.7.29-15","17.7.29-16","17.7.29-17","17.7.29-18","17.7.29-19","17.7.29-2","17.7.29-20","17.7.29-21","17.7.29-22","17.7.29-23","17.7.29-24","17.7.29-25","17.7.29-3","17.7.29-4","17.7.29-5","17.7.29-6","17.7.29-7","17.7.29-8","17.7.29-9","17.7.34-0","17.7.34-1","17.7.34-10","17.7.34-11","17.7.34-2","17.7.34-3","17.7.34-4","17.7.34-5","17.7.34-6","17.7.34-7","17.7.34-8","17.7.34-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"teleport-17-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-17-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.7.29-2"}]}],"versions":["17.7.29-10","17.7.29-11","17.7.29-12","17.7.29-13","17.7.29-14","17.7.29-15","17.7.29-16","17.7.29-17","17.7.29-18","17.7.29-19","17.7.29-2","17.7.29-20","17.7.29-21","17.7.29-22","17.7.29-23","17.7.29-24","17.7.29-25","17.7.29-3","17.7.29-4","17.7.29-5","17.7.29-6","17.7.29-7","17.7.29-8","17.7.29-9","17.7.34-0","17.7.34-1","17.7.34-10","17.7.34-11","17.7.34-2","17.7.34-3","17.7.34-4","17.7.34-5","17.7.34-6","17.7.34-7","17.7.34-8","17.7.34-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json","owner_kind":"HSP"}},{"package":{"name":"teleport-17","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-17"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.7.29-2"}]}],"versions":["17.7.29-10","17.7.29-11","17.7.29-12","17.7.29-13","17.7.29-14","17.7.29-15","17.7.29-16","17.7.29-17","17.7.29-18","17.7.29-19","17.7.29-2","17.7.29-20","17.7.29-21","17.7.29-22","17.7.29-23","17.7.29-24","17.7.29-25","17.7.29-3","17.7.29-4","17.7.29-5","17.7.29-6","17.7.29-7","17.7.29-8","17.7.29-9","17.7.34-0","17.7.34-1","17.7.34-10","17.7.34-11","17.7.34-2","17.7.34-3","17.7.34-4","17.7.34-5","17.7.34-6","17.7.34-7","17.7.34-8","17.7.34-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/vaultwarden-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.37.3-0"}]}],"versions":["1.37.3-0","1.37.4-0","1.37.4-1","1.37.5-0","1.37.5-1","1.37.5-10","1.37.5-2","1.37.5-3","1.37.5-4","1.37.5-5","1.37.5-6","1.37.5-7","1.37.5-8","1.37.5-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}},{"package":{"name":"vector","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/vector"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.58.0-0"}]}],"versions":["0.58.0-0","0.59.0-0","0.60.0-0","0.61.0-0","0.62.0-0","0.62.0-1","0.62.0-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hyev-i7f2-fvlf-yzsh.json"}}],"schema_version":"1.9.2"}