Skip to content

Bump github.com/anacrolix/torrent from 1.61.0 to 1.62.0 - #28

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/anacrolix/torrent-1.62.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/anacrolix/torrent-1.62.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 14, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/anacrolix/torrent from 1.61.0 to 1.62.0.

Changelog

Sourced from github.com/anacrolix/torrent's changelog.

[v1.62.0] - 2026-11-10

Large release with security fixes, big memory and throughput improvements for pieces and peer messages, BEP 14 and BEP 27 support, a completed BEP 6, SOCKS5 peer dialing, and migrations to log/slog and roaring v2.

Security: fixes GHSA-2wrx-84qj-4pcg (unbounded bencode recursion), GHSA-4mxg-hpvf-2386 (unverified metadata for btih magnets), and remote crashes and resource exhaustion triggered by malicious peers or crafted torrents (#1169, #1171, #1186, #1188, #1196). It also upgrades pion/dtls to fix CVE-2026-26014 (#1178). All users should upgrade.

Breaking API changes:

  • Torrent.Piece returns a Piece value instead of *Piece
  • Roaring bitmaps are now github.com/RoaringBitmap/roaring/v2 (PeerConn.PeerPieces, webseed.Client.Pieces, typed-roaring)
  • storage.PieceCompletionGetSetter.Set takes g.Option[bool] instead of bool
  • peer_protocol.Decoder.Pool is a ChunkBufferPool instead of *sync.Pool
  • tracker/http.Peer.FromDictInterface returns an error
  • fs.TorrentFS.Root and the fs/cmd/torrentfs package are removed
  • webtorrent.TrackerClient.Dialer is replaced by HTTPClient *http.Client, as the WebSocket library moved from gorilla/websocket to coder/websocket (#1177)
  • Go 1.26 is required

Changes:

  • Reject info bytes that don't match a v1-only infohash, so peers can't serve forged metadata for btih magnets and AddTorrentInfoHash torrents (GHSA-4mxg-hpvf-2386, #1158, f317bd86)
  • Reject out-of-range ut_metadata piece indexes, which let any peer crash the client (#1169, 40a8d413)
  • Bound peer-supplied fields that could crash or exhaust the client: metadata_size truncation in the extended handshake, Piece messages that don't match the request, and hash requests before the info is known no longer panic. Peer-keyed expvar maps are capped, ut_holepunch connects respect half-open limits, and tracker announce intervals are clamped to at least one minute (#1171, 4b30f293)
  • metainfo: Reject malformed info dicts that crash or exhaust the client: negative file or piece lengths, directories with file properties, v2 piece lengths that aren't a power of two of at least 16 KiB, v2 file trees implying more than 2^24 pieces, and hybrid infos whose v1 and v2 piece counts disagree (#1186, 2f79175b)
  • bencode: Don't allocate a string's claimed length before reading it, so a short input can't force a huge allocation (#1188, 34fa3599)
  • Don't crash when a magnet source returns info that doesn't decode (#1196, ffb17a05)
  • Don't panic getting the info of a v2 torrent from peers, when pieces don't have hashes yet (#1195, 72e4c5fa)
  • Don't panic dropping a torrent whose info failed to set (#1134, e241a2fb)
  • tracker/shared: AnnounceEvent.MarshalText returns an error for out-of-range values instead of panicking, and MarshalJSON now matches UnmarshalJSON and the wire format (#1199, bc94681c)
  • Add fuzz targets for network-facing parsers, ready for OSS-Fuzz (2e78e27d, d09c409f)
  • Upgrade pion/dtls/v3 to v3.0.11 for CVE-2026-26014 (GHSA-9f3f-wv7r-qc8r), random AES-GCM

... (truncated)

Commits
  • 2367889 CHANGELOG for v1.62.0
  • c7ede03 Reduce streaming request contention (#1113)
  • ef9bed0 Look up the tracker client before releasing the client lock (rebased #1128) (...
  • 8a85949 CI: cache and retry macOS FUSE cask installs (#1198)
  • 564da3c Release the client lock when verifying a piece of a closed torrent (#1145)
  • 179fb0a Add Torrent.RemoveWebSeeds (#1131)
  • 2e71a87 Remove leftover log of every HTTP scrape URL (#1141)
  • e241a2f Don't panic dropping a torrent whose info failed to set (#1134)
  • d38ace8 Don't report the hashing read's length limit as a short write (#1132)
  • 131d959 Stop the request order scan at the first unwanted piece (#1124)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent) from 1.61.0 to 1.62.0.
- [Changelog](https://github.com/anacrolix/torrent/blob/master/CHANGELOG.md)
- [Commits](anacrolix/torrent@v1.61.0...v1.62.0)

---
updated-dependencies:
- dependency-name: github.com/anacrolix/torrent
  dependency-version: 1.62.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 14, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #31.

@dependabot dependabot Bot closed this Nov 21, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/anacrolix/torrent-1.62.0 branch November 21, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants