CVE-2026-81928
CVE-2026-81928 · Net::DNS versions before 1.57 for Perl allow memory exhaustion via unbounded recursion in sig_data when re-encoding a message with a misplaced TSIG record
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
Net::DNS versions before 1.57 for Perl allow memory exhaustion via unbounded recursion in sig_data when re-encoding a message with a misplaced TSIG record. sig_data signs a message by re-encoding it, and removes TSIG records only from the additional section. A TSIG decoded into the answer or authority section survives that step and is signed again, so encoding re-enters sig_data with no termination condition. Decoding does not reject such a message: a TSIG that is not the last record on the wire raises "misplaced or corrupt TSIG", but the error is caught, reported as a warning, and the record is left in the packet. RFC 8945 section 5.2 requires the message to be dropped. The recursion is reached only when the decoded TSIG carries an empty MAC, since a MAC recovered from the wire short-circuits the signing step. It is reached only from code that re-encodes a message it decoded, such as a forwarder or a proxy. A decoded message that is never re-encoded is unaffected. Message direction does not matter: a query reaches the same path as a response. Each cycle re-encodes the whole message, so fewer than 100 bytes on the wire exhaust available memory and terminate the process.
CVSS 7.5 · Élevée · EPSS 0,7% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
libnet-dns-perl Debian:12
- Versions du logiciel
- 1.36-1
- 1.36-1+deb12u1
- 1.39-1
- 1.39-2
- 1.40-1
- 1.41-1
- 1.42-1
- 1.43-1
- 1.44-1
- 1.45-1
- 1.46-1
- 1.47-1
- 1.48-1
- 1.49-1
- 1.50-1
- 1.53-1
- 1.54-1
- 1.55-1
- 1.56-1
- 1.57-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Debian:13
- Versions du logiciel
- 1.50-1
- 1.53-1
- 1.54-1
- 1.55-1
- 1.56-0+deb13u1
- 1.56-1
- 1.57-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Debian:14
- Versions du logiciel
- 1.50-1
- 1.53-1
- 1.54-1
- 1.55-1
- 1.56-1
- Plages de versions concernées
- ECOSYSTEM: < 1.57-1
Mettez à jour vers 1.57-1
libnet-dns-perl Ubuntu:14.04:LTS
- Versions du logiciel
- 0.68-1.2
- 0.68-1.2build1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Ubuntu:16.04:LTS
- Versions du logiciel
- 0.81-2
- 0.81-2build1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Ubuntu:18.04:LTS
- Versions du logiciel
- 1.10-2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Ubuntu:20.04:LTS
- Versions du logiciel
- 1.20-1
- 1.21-1
- 1.22-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Ubuntu:22.04:LTS
- Versions du logiciel
- 1.29-1
- 1.32-1
- 1.33-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Ubuntu:24.04:LTS
- Versions du logiciel
- 1.39-2ubuntu1
- 1.40-1ubuntu1
- 1.44-1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Ubuntu:26.10
- Versions du logiciel
- 1.54-1ubuntu1
- 1.55-1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
libnet-dns-perl Ubuntu:26.04:LTS
- Versions du logiciel
- 1.50-1ubuntu1
- 1.53-1ubuntu1
- 1.54-1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L245-262
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.56/source/lib/Net/DNS/RR/TSIG.pm#L62-73
- https://datatracker.ietf.org/doc/html/rfc8945#section-5.2
- https://rt.cpan.org/Ticket/Display.html?id=181125
- https://metacpan.org/release/NLNETLABS/Net-DNS-1.57/changes
- http://www.openwall.com/lists/oss-security/2026/09/02/1
- https://nvd.nist.gov/vuln/detail/CVE-2026-81928