Skip to content

Bump rustix to 1.1.6 to clear RUSTSEC-2026-0486 - #155

Merged
dduugg merged 1 commit into
mainfrom
fix-rustsec-2026-0486
Nov 16, 2026
Merged

dduugg merged 1 commit into
mainfrom
fix-rustsec-2026-0486

Conversation

@dduugg

@dduugg dduugg commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Resolves RUSTSEC-2026-0486. In rustix 1.1.5, the xattr functions mark unwritten bytes as initialized when they're given a zero-length buffer. This PR updates the lockfile to rustix 1.1.6, which fixes it.

Impact

rustix reaches this crate only as a dev-dependency, through tempfile. Nothing here calls the xattr API, so the shipped binary and the published crate were never affected. cargo tree -e normal --target all -i rustix comes back empty. The lockfile still carried the vulnerable version, and that's what the audit workflow flags.

rustix 1.1.6 needs a newer bitflags, so bitflags moves from 2.6.0 to 2.13.2. rustix is the only crate that depends on bitflags, so it's dev-only too.

Verification

  • cargo audit reports RUSTSEC-2026-0486 against main's Cargo.lock and reports nothing on this branch.
  • cargo fmt --check, RUSTFLAGS=-Dwarnings cargo clippy --all-targets --all-features and cargo test all pass.

No version bump, so merging this doesn't cut a release. Downstream users don't need one, because the change only touches dev-dependencies.

Closes #154

rustix 1.1.5's xattr functions mark unwritten bytes as initialized
when given a zero-length buffer. rustix reaches this crate only as a
dev-dependency through tempfile, and nothing here calls the xattr API,
so the shipped binary was never affected. The lockfile still carried
the vulnerable version, which the audit workflow flags.

rustix 1.1.6 requires a newer bitflags, which moves from 2.6.0 to
2.13.2. Only rustix depends on bitflags, so it is also dev-only.

Closes #154
@dduugg
dduugg requested a review from a team as a code owner November 16, 2026 18:40
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Nov 16, 2026
@dduugg
dduugg merged commit 3ee32de into main Nov 16, 2026
15 checks passed
@dduugg
dduugg deleted the fix-rustsec-2026-0486 branch November 16, 2026 18:49
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

RUSTSEC-2026-0486: xattr functions mark unwritten bytes as initialized when given a zero-length buffer

1 participant