RUSTSEC-2026-0310
Vulnerability from osv_rustsec – Published: 2026-09-25 12:00 – Updated: 2026-09-25 17:51 – Source websiteVersion 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_nameto 20. This also fixed an integer overflow in this method when ANCOUNT wasu16::MAX. - Changed
QuestionSection::answerto 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::qnameandFoundHosts::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.
{
"affected": [
{
"database_specific": {
"categories": [
"denial-of-service"
],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "domain",
"purl": "pkg:cargo/domain"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.12.3"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [],
"database_specific": {
"license": "CC0-1.0"
},
"details": "Version 0.12.3 fixes a large number of panics, soundness issues, and\nCPU and memory exhaustion issues in all parts of the crate.\n\nThe following is a summary of the issues per affected components.\nFor details, please see the [release\nnotes](https://github.com/NLnetLabs/domain/releases/tag/v0.12.3).\n\n## Base\n\n* Limited the number of compression pointers that are followed when parsing\n a compressed name to 255 to avoid following really long chains.\n* Limited the length of CNAME chains followed by `Message::canonical_name`\n to 20. This also fixed an integer overflow in this method when ANCOUNT\n was`u16::MAX`.\n* Changed `QuestionSection::answer` to skip over all remaining questions\n without parsing the QNAMEs to avoid being slowed down by malicious\n names.\n* Added length checks when scanning and parsing variable length record\n data types. This fixes issues with the message builder, which assumes that\n record data is never too large for placing in a message.\n\n## Stub Resolver\n\n* Fixed possible panics in the resolver\u2019s `FoundHosts::qname` and\n `FoundHosts::canonical_name`.\n* Fixed various issues in SRV processing.\n\n## Zonefile parsing\n\n* Fixed soundness issues when reading UTF-8 and an integer overflow when\n reading unsigned integers.\n* Fixed a panic when reading empty TXT records.\n\n## Client and server transports, DNSSEC signer and validator\n\nFixed various panics that could be triggered by malicious incoming DNS\nmessages.\n\n## Zonetree\n\nFixed various panics and a memory exhaustion issue when updating the zone.\n\n## Acknowledgements\n\nWe would like to thank Qifan Zhang, Palo Alto Networks,\nAntoni (Tony) Jagodka ([@DrVelvetFog](https://github.com/DrVelvetFog)),\nand [@SebastiaanYN](https://github.com/SebastiaanYN) for\nreporting issues fixed in this release.",
"id": "RUSTSEC-2026-0310",
"modified": "2026-09-25T17:51:57Z",
"published": "2026-09-25T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/domain"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0310.html"
},
{
"type": "WEB",
"url": "https://github.com/NLnetLabs/domain/releases/tag/v0.12.3"
}
],
"related": [],
"severity": [],
"summary": "Various panics, soundness and resource exhaustion issues"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.