Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

RUSTSEC-2026-0310

UNSCORED

Various panics, soundness and resource exhaustion issues

Mitigation

  • Upgrade domain to 0.12.3 or later.

Who should check

  • Projects that depend on crates.io package domain (>= 0.0.0-0, < 0.12.3)

Vulnerability facts

Affected
domain >= 0.0.0-0, < 0.12.3
Fixed in
0.12.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

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](https://github.com/NLnetLabs/domain/releases/tag/v0.12.3). ## 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 was`u16::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](https://github.com/DrVelvetFog)), and [@SebastiaanYN](https://github.com/SebastiaanYN) for reporting issues fixed in this release.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io domain>= 0.0.0-0, < 0.12.30.12.3osv

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by RUSTSEC-2026-0310. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/RUSTSEC-2026-0310.md
Affected: domain >= 0.0.0-0, < 0.12.3
Fixed in: 0.12.3

Steps:
1. Search this machine and project for domain (crates.io): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is RUSTSEC-2026-0310 being exploited?

There is no confirmed exploitation: RUSTSEC-2026-0310 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is RUSTSEC-2026-0310?

It has no CVSS score yet. Unknown.

Which versions are affected by RUSTSEC-2026-0310?

domain >= 0.0.0-0, < 0.12.3.

Is there a fix for RUSTSEC-2026-0310?

Yes. Fixed in 0.12.3. Upgrade domain to 0.12.3 or later.

How do I check if I'm affected by RUSTSEC-2026-0310?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors