{"id":"CVE-2021-45703","aliases":["GHSA-qwvx-c8j7-5g75","RUSTSEC-2021-0112"],"url":"https://o3.security/vulnerability/CVE-2021-45703","summary":"Duplicate Advisory: `Read` on uninitialized buffer may cause UB ('tectonic_xdv' crate)","details":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-qwvx-c8j7-5g75. This link is maintained to preserve external references.\n\n## Original Description\nAffected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n\nThe problem was fixed in commit `cdff034` by zero-initializing the buffer before passing it to a user-provided `Read` implementation.","published":"2022-06-17T00:24:29Z","modified":"2026-02-03T19:50:02.811967Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"tectonic_xdv","fixedVersion":"0.1.12"}],"fix":{"url":"https://github.com/tectonic-typesetting/tectonic/commit/cdff034e6d93cdfdafd13d8c6956e22fa5a57b79","label":"tectonic-typesetting/tectonic@cdff034"},"references":[{"type":"WEB","url":"https://github.com/tectonic-typesetting/tectonic/issues/752"},{"type":"WEB","url":"https://github.com/tectonic-typesetting/tectonic/commit/cdff034e6d93cdfdafd13d8c6956e22fa5a57b79"},{"type":"PACKAGE","url":"https://github.com/tectonic-typesetting/tectonic"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0112.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-02-03T19:50:02.811967Z"}}