Skip to content

Tox

v0.2.23 Security

This release includes 1 security fix for security teams reviewing exposed deployments.

Published 10h Network Security
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →
This release patches 1 known CVE

Topics

cryptography encryption network p2p security toxcore

Affected surfaces

breaking_upgrade

ReleasePort's take

Moderate signal
editorial:auto 8h

Release v0.2.23 patches a critical Use‑After‑Free vulnerability in the av module when peers go offline.

Why it matters: The fix addresses CVE GHSA‑42vg‑9mg3‑399f (severity 90) affecting audio/video handling; all deployments should upgrade immediately to prevent memory corruption.

Summary

AI summary

Fixes a critical GHSA‑42vg‑9mg3‑399f Use‑After‑Free vulnerability in audio/video peer handling.

Changes in this release

Security Critical

Fixes Use-After-Free vulnerability in av module when peer goes offline.

Fixes Use-After-Free vulnerability in av module when peer goes offline.

Source: llm_adapter@2026-06-03

Confidence: high

Feature Low

Adds `Tox_Iterate_Options` for granular control over `tox_iterate`.

Adds `Tox_Iterate_Options` for granular control over `tox_iterate`.

Source: llm_adapter@2026-06-03

Confidence: high

Feature Low

Adds function to retrieve list of valid group chat numbers.

Adds function to retrieve list of valid group chat numbers.

Source: llm_adapter@2026-06-03

Confidence: high

Bugfix Medium

Limits number of saved group peers when loading from disk and adds bounds test.

Limits number of saved group peers when loading from disk and adds bounds test.

Source: llm_adapter@2026-06-03

Confidence: low

Bugfix Low

Suppresses IPv6 node warning when IPv6 is disabled.

Suppresses IPv6 node warning when IPv6 is disabled.

Source: granite4.1:30b@2026-06-03-audit

Confidence: low

Bugfix Low

Corrects max size announcements in GCA by 32 bytes.

Corrects max size announcements in GCA by 32 bytes.

Source: granite4.1:30b@2026-06-03-audit

Confidence: low

Bugfix Low

Sizes GCA onion announce response buffer to actual content length.

Sizes GCA onion announce response buffer to actual content length.

Source: granite4.1:30b@2026-06-03-audit

Confidence: low

Bugfix Low

Fixes mypy failure in tests.

Fixes mypy failure in tests.

Source: granite4.1:30b@2026-06-03-audit

Confidence: low

Refactor Low

Refactors DHT memory handling to prevent double‑free when loading multiple states.

Refactors DHT memory handling to prevent double‑free when loading multiple states.

Source: granite4.1:30b@2026-06-03-audit

Confidence: low

Full changelog

Release notes

This release fixes a critical bug, other bug fixes and some small features and test improvements.

The critical bug was discovered during a manual audit performed by iphy. You can find more on the issue at https://github.com/TokTok/c-toxcore/security/advisories/GHSA-42vg-9mg3-399f .

Other bug fixes where applied all over the codebase and should result in an even more stable core experience.

A minor noteworthy feature that was added is a function to get a list of group chats, further improving ngc quality of life.

As always, none of the public facing apis (tox.h/toxav.h/toxencryptsave.h/etc) where modified or removed, which should make this update seamless.

Bug Fixes

  • limit number of saved group peers when loading from disk And add unpack_gc_saved_peers bounds test. (de31d805)
  • wrong comment in group code (147dbe11)
  • DHT:
    • refactor memory handling of loaded dht state Previous code could double-free if more than one dht states per tox-file and a following allocation fails. (6e959f36)
    • Suppress the warning about IPv6 nodes when IPv6 is turned off (71c354bf)
  • av: Fix Use-After-Free when peer goes offline. (dbb65223)
  • gca: announce max sizes where 32bytes too large (5080b21c)
  • onion: Size GCA announce response buffer to actual content length. (23853004)
  • test: fix mypy failure (8016a502)

Features

  • Add Tox_Iterate_Options for granular control over tox_iterate. (10975240)
  • Add a function to get the list of valid group chat numbers. (8f37a2f1)

Security Fixes

  • GHSA-42vg-9mg3-399f — Fix Use‑After‑Free when peer goes offline in av module

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Tox

Get notified when new releases ship.

Sign up free

About Tox

Distributed, secure messenger with audio and video chat capabilities.

All releases →

Beta — feedback welcome: [email protected]