Skip to content
Heist/ feed
UnratedFix available

Various panics, soundness and resource exhaustion issues

Type: advisorySource: OSV1 source record

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 t

Announced Source revision 1
Original source ↗

RUSTSEC-2026-0310

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:RUSTSEC-2026-0310

domain

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
0.12.3

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0.0.0-0"
          },
          {
            "fixed": "0.12.3"
          }
        ]
      }
    ],
    "package": {
      "name": "domain",
      "purl": "pkg:cargo/domain",
      "ecosystem": "crates.io"
    },
    "database_specific": {
      "cvss": null,
      "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0310.json",
      "categories": [
        "denial-of-service"
      ],
      "informational": null
    },
    "ecosystem_specific": {
      "affects": {
        "os": [],
        "arch": [],
        "functions": []
      },
      "affected_functions": null
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#17552 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement