]> git.ipfire.org Git - thirdparty/bind9.git/commit
[CVE-2026-11331] sec: usr: Fix handling of rpz CNAME expansion that returns name...
authorMark Andrews <marka@isc.org>
Fri, 12 Jun 2026 05:48:37 +0000 (15:48 +1000)
committerMichał Kępień <michal@isc.org>
Fri, 10 Jul 2026 07:26:46 +0000 (09:26 +0200)
commit71a8a3fa1d5c59affaeb56b1dcc4a0dcaaeb8ebc
tree01a3b3b1152c048b62454a9b8a4b7abfb82e1aad
parentc3fe58093d9edb7a71e77f03209cd5da7a54fad6
parentcfc4c4f69870ce492deaaa429453563d1621ded3
[CVE-2026-11331] sec: usr: Fix handling of rpz CNAME expansion that returns name too long

Previously, if the expansion of a wildcard CNAME RPZ policy resulted in a name that exceeded the length limit, a self referential CNAME and the original address record were returned, allowing the policy to be bypassed.  In branches up to 9.20, this also left query processing in an inconsistent state which could trigger an assertion failure.  We now return a YXDOMAIN response, without the address.

ISC would like to thank Laith Mash'al (0xmshal) for bringing this issue to our attention.

Closes https://gitlab.isc.org/isc-projects/bind9/-/issues/5856

Merge branch '5856-confidential-rpz-cname-nametoolong' into 'security-main'

See merge request isc-private/bind9!984