Email me

Rust advisories / domain

VulnerabilityRUSTSEC-2026-0310 · domain

RUSTSEC-2026-0310: Various panics, soundness and resource exhaustion issues

Short answerA security vulnerability in the domain crate: Various panics, soundness and resource exhaustion issues. No severity score was published. Fixed in 0.12.3: update to a fixed version.

Cratedomain
TypeVulnerability (denial-of-service)
Affected versionsBefore 0.12.3.
Fixed in0.12.3
Severitynot scored
Published2026-09-25
Last changed2026-09-25
Also known asnone

What to do

  1. See which version you have: cargo tree -i domain (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p domain. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example domain = "0.12.3") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

Version 0.12.3 fixes a large number of panics, soundness issues, and CPU and memory exhaustion issues in all parts of the crate.

The following is a summary of the issues per affected components. For details, please see the release notes.

Base

  • Limited the number of compression pointers that are followed when parsing a compressed name to 255 to avoid following really long chains.
  • Limited the length of CNAME chains followed by Message::canonical_name to 20. This also fixed an integer overflow in this method when ANCOUNT wasu16::MAX.
  • Changed QuestionSection::answer to skip over all remaining questions without parsing the QNAMEs to avoid being slowed down by malicious names.
  • Added length checks when scanning and parsing variable length record data types. This fixes issues with the message builder, which assumes that record data is never too large for placing in a message.

Stub Resolver

  • Fixed possible panics in the resolver’s FoundHosts::qname and FoundHosts::canonical_name.
  • Fixed various issues in SRV processing.

Zonefile parsing

  • Fixed soundness issues when reading UTF-8 and an integer overflow when reading unsigned integers.
  • Fixed a panic when reading empty TXT records.

Client and server transports, DNSSEC signer and validator

Fixed various panics that could be triggered by malicious incoming DNS messages.

Zonetree

Fixed various panics and a memory exhaustion issue when updating the zone.

Acknowledgements

We would like to thank Qifan Zhang, Palo Alto Networks, Antoni (Tony) Jagodka (@DrVelvetFog), and @SebastiaanYN for reporting issues fixed in this release.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ