]> git.ipfire.org Git - thirdparty/unbound.git/log
thirdparty/unbound.git
5 hours ago- Tag for 1.26.0rc1. The repo continues with version 1.26.1. master
W.C.A. Wijngaards [Tue, 28 Jul 2026 07:45:59 +0000 (09:45 +0200)] 
- Tag for 1.26.0rc1. The repo continues with version 1.26.1.

3 days ago- Fix to call OPENSSL_cleanup on exit when that is defined. branch-1.26.0 release-1.26.0rc1
W.C.A. Wijngaards [Fri, 24 Jul 2026 15:04:38 +0000 (17:04 +0200)] 
- Fix to call OPENSSL_cleanup on exit when that is defined.

3 days agoChangelog note for #1479
W.C.A. Wijngaards [Fri, 24 Jul 2026 13:35:55 +0000 (15:35 +0200)] 
Changelog note for #1479
- Merge #1479 from psumbera: Fix pthread detection on
  Solaris 11.4.

3 days agoFix pthread detection on Solaris 11.4 (#1479)
Petr Sumbera [Fri, 24 Jul 2026 13:34:18 +0000 (15:34 +0200)] 
Fix pthread detection on Solaris 11.4 (#1479)

AX_PTHREAD requires _REENTRANT to confirm that pthread support is enabled.
Solaris 11.4 headers no longer use the macro, and GCC 16 therefore no
longer defines it for -pthread.

Detect XPG7 support in the target headers and require _REENTRANT only on
older Solaris releases. The existing pthread compile and link test remains
the final capability check.

This follows the canonical Autoconf Archive change:
https://github.com/autoconf-archive/autoconf-archive/pull/341

Regenerate configure with Autoconf 2.71.

Tested on Solaris 11.4 with GCC 15.2 and GCC 16.1. The Autoconf Archive
change was also tested on Solaris 11.3.

Co-authored-by: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3 days agoChangelog note for #1481.
W.C.A. Wijngaards [Fri, 24 Jul 2026 13:32:20 +0000 (15:32 +0200)] 
Changelog note for #1481.
- Fix #1481: Fix to use tls-port after referral if
  tls-upstream is set.

3 days ago- Fix to use tls-port after referral if tls-upstream is set.
W.C.A. Wijngaards [Fri, 24 Jul 2026 13:31:06 +0000 (15:31 +0200)] 
- Fix to use tls-port after referral if tls-upstream is set.

4 days ago- Fix sign of comparison warning in shared ports setup.
W.C.A. Wijngaards [Fri, 24 Jul 2026 12:44:44 +0000 (14:44 +0200)] 
- Fix sign of comparison warning in shared ports setup.

4 days ago- Fix to guard access to shared ports interface array during
W.C.A. Wijngaards [Fri, 24 Jul 2026 12:38:46 +0000 (14:38 +0200)] 
- Fix to guard access to shared ports interface array during
  set up, for analyzer.

4 days ago- Fix unused variable warnings in shared_ports_fetch_random
W.C.A. Wijngaards [Fri, 24 Jul 2026 12:37:17 +0000 (14:37 +0200)] 
- Fix unused variable warnings in shared_ports_fetch_random
  and shared_ports_return_port when compiled without threads.

4 days agoChangelog entry for #1480
W.C.A. Wijngaards [Fri, 24 Jul 2026 10:25:34 +0000 (12:25 +0200)] 
Changelog entry for #1480
- Merge #1480 from petrvaganoff: authzone: fix memory leak in
  xfer_set_masters() error path.

4 days agoauthzone: fix memory leak in xfer_set_masters() error path (#1480)
Petr Vaganov [Fri, 24 Jul 2026 10:24:49 +0000 (17:24 +0700)] 
authzone: fix memory leak in xfer_set_masters() error path (#1480)

Added memory deallocation for the `file` and `host` fields of the
`auth_master` node in the event of a URL/allocation error, and
unlinked the partially created node from the masters list by
resetting the link that pointed to it.

Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
4 days ago- Fix lock test protect for auth zone change.
W.C.A. Wijngaards [Fri, 24 Jul 2026 10:13:09 +0000 (12:13 +0200)] 
- Fix lock test protect for auth zone change.
- Fix to lock shared_ports structure during initialisation.
- Fix to lock anchor structure when file is set for it in

4 days ago- Fix to allow test fake sha1 on systems with possible sha1
W.C.A. Wijngaards [Fri, 24 Jul 2026 09:50:15 +0000 (11:50 +0200)] 
- Fix to allow test fake sha1 on systems with possible sha1
  support.
- Fix to use sha256 for unbound-anchor unit test.
- Fix unbound-anchor check for return value of
  X509_NAME_get_text_by_NID of the emailaddress.

4 days ago- Update generated man pages.
W.C.A. Wijngaards [Fri, 24 Jul 2026 08:03:41 +0000 (10:03 +0200)] 
- Update generated man pages.

4 days ago- set code repository version to 1.26.0.
W.C.A. Wijngaards [Fri, 24 Jul 2026 07:45:49 +0000 (09:45 +0200)] 
- set code repository version to 1.26.0.

4 days ago- Fix #1477: respip + dns64: dns64 uses A records modified by
W.C.A. Wijngaards [Fri, 24 Jul 2026 07:29:17 +0000 (09:29 +0200)] 
- Fix #1477: respip + dns64: dns64 uses A records modified by
  respip instead of original A records. Adds local-zone types
  block_a_wdata and block_aaaa_wdata, that are like block_a
  and block_aaaa, and uses local-data if present.

4 days ago- Unit test for block_a and block_aaaa.
W.C.A. Wijngaards [Fri, 24 Jul 2026 07:03:45 +0000 (09:03 +0200)] 
- Unit test for block_a and block_aaaa.

4 days agoChangelog note for #1433
W.C.A. Wijngaards [Fri, 24 Jul 2026 06:53:30 +0000 (08:53 +0200)] 
Changelog note for #1433
- Merge #1433 from jisakiel: Add new static zone type
  block_aaaa to suppress AAAA queries.

4 days agoAdd new static zone type block_aaaa to suppress AAAA queries (#1433)
Jisakiel [Fri, 24 Jul 2026 06:52:20 +0000 (07:52 +0100)] 
Add new static zone type block_aaaa to suppress AAAA queries (#1433)

Following d5b9a790f lead for block_a - this would allow suppressing AAAA queries instead for sticking to IPV4.

Co-authored-by: Jisakiel <jisakiel@users.noreply.github.com>
4 days ago- Fix mesh cycle detection for configuration with respip CNAME
W.C.A. Wijngaards [Thu, 23 Jul 2026 14:28:45 +0000 (16:28 +0200)] 
- Fix mesh cycle detection for configuration with respip CNAME
  loop and tagged clients. Thanks to Qifan Zhang, Palo Alto
  Networks, for the report.

4 days ago- Fix that the aggressive negative cache does not insert NSEC
W.C.A. Wijngaards [Thu, 23 Jul 2026 14:17:59 +0000 (16:17 +0200)] 
- Fix that the aggressive negative cache does not insert NSEC
  records with overreaching next owner name. Also the result
  is not above the trust anchor's bailiwick. Also RRSIGS are
  not considered valid when an NSEC next owner name is not
  under the signer zone name. Thanks to Qifan Zhang, Palo
  Alto Networks, for the report.

4 days ago- Fix that for NSEC3 proofs the NSEC3 zone, as the b32.name is
W.C.A. Wijngaards [Thu, 23 Jul 2026 13:54:59 +0000 (15:54 +0200)] 
- Fix that for NSEC3 proofs the NSEC3 zone, as the b32.name is
  checked to be the same as the signer name. Also RRSIGs are
  not considered valid when an NSEC3 is not b32.signerzone.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.

5 days agoChangelog entry for #1478
W.C.A. Wijngaards [Thu, 23 Jul 2026 08:22:53 +0000 (10:22 +0200)] 
Changelog entry for #1478
- Merge #1478 from petrvaganoff: pythonmod: add check return
  value after ftell().

5 days agopythonmod: add check return value after ftell() (#1478)
Petr Vaganov [Thu, 23 Jul 2026 08:22:02 +0000 (15:22 +0700)] 
pythonmod: add check return value after ftell() (#1478)

Variable 'flen', which might receive a negative value at pythonmod.c:493
by calling function 'ftell', is used without checking at pythonmod.c:508
by calling function 'fread'.

Found by the static analyzer Svace (ISP RAS).

Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
5 days ago- Updated credits for Xuanchao Xie in 22 july changelog.
W.C.A. Wijngaards [Thu, 23 Jul 2026 08:01:10 +0000 (10:01 +0200)] 
- Updated credits for Xuanchao Xie in 22 july changelog.

6 days ago- iana portlist update.
W.C.A. Wijngaards [Wed, 22 Jul 2026 12:12:34 +0000 (14:12 +0200)] 
- iana portlist update.

6 days ago- Fix error in log printout in fix for CVE-2026-50248, when the
W.C.A. Wijngaards [Wed, 22 Jul 2026 10:16:49 +0000 (12:16 +0200)] 
- Fix error in log printout in fix for CVE-2026-50248, when the
  primary name is bogus.

6 days ago- Unit test for CVE-2026-56416.
W.C.A. Wijngaards [Wed, 22 Jul 2026 10:06:00 +0000 (12:06 +0200)] 
- Unit test for CVE-2026-56416.

6 days ago- Unit test for CVE-2026-55973.
W.C.A. Wijngaards [Wed, 22 Jul 2026 10:04:35 +0000 (12:04 +0200)] 
- Unit test for CVE-2026-55973.

6 days ago- Unit test for CVE-2026-55717.
W.C.A. Wijngaards [Wed, 22 Jul 2026 10:03:48 +0000 (12:03 +0200)] 
- Unit test for CVE-2026-55717.

6 days ago- Unit test for CVE-2026-50248.
W.C.A. Wijngaards [Wed, 22 Jul 2026 10:00:19 +0000 (12:00 +0200)] 
- Unit test for CVE-2026-50248.

6 days ago- Unit test for CVE-2026-50243.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:59:36 +0000 (11:59 +0200)] 
- Unit test for CVE-2026-50243.

6 days ago- Unit test for CVE-2026-46582.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:58:18 +0000 (11:58 +0200)] 
- Unit test for CVE-2026-46582.

6 days ago- Unit test for CVE-2026-50045.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:57:13 +0000 (11:57 +0200)] 
- Unit test for CVE-2026-50045.

6 days ago- Unit test for CVE-2026-44690.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:56:08 +0000 (11:56 +0200)] 
- Unit test for CVE-2026-44690.

6 days ago- Unit test for CVE-2026-44687.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:55:09 +0000 (11:55 +0200)] 
- Unit test for CVE-2026-44687.

6 days ago- Unit test for CVE-2026-42955.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:54:00 +0000 (11:54 +0200)] 
- Unit test for CVE-2026-42955.

6 days agoChangelog entry for 1.25.2.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:38:48 +0000 (11:38 +0200)] 
Changelog entry for 1.25.2.
- Set the repository to 1.25.3, it continues with the previous
  changes.

6 days agoFix conflict merge fixup.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:36:06 +0000 (11:36 +0200)] 
Fix conflict merge fixup.

6 days agoMove repo to version 1.25.3.
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:34:48 +0000 (11:34 +0200)] 
Move repo to version 1.25.3.

6 days agoMerge branch 'branch-1.25.2'
W.C.A. Wijngaards [Wed, 22 Jul 2026 09:33:54 +0000 (11:33 +0200)] 
Merge branch 'branch-1.25.2'

6 days agorerun autoconf. branch-1.25.2 release-1.25.2
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:21:21 +0000 (10:21 +0200)] 
rerun autoconf.

6 days ago- Fix CVE-2026-56444, Degradation of resolution service when
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:19:50 +0000 (10:19 +0200)] 
- Fix CVE-2026-56444, Degradation of resolution service when
  'discard-timeout' and 'serve-expired-client-timeout' are combined in
  unusual configuration. Thanks to Qifan Zhang, Palo Alto Networks,
  for the report. In addition, thanks to Xin Wang, Jiapeng Li,
  and Jiajia Liu, Northwestern Polytechnical University, for also
  reporting this issue. In addition, thanks to Haruki Oyama (Waseda
  University), for also reporting this issue.

6 days ago- Fix CVE-2026-56416, Possible heap buffer overflow when validator
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:19:28 +0000 (10:19 +0200)] 
- Fix CVE-2026-56416, Possible heap buffer overflow when validator
  canonicalizes RDATA that contains domain name. Thanks to Qifan
  Zhang, Palo Alto Networks, for the report.

6 days ago- Fix CVE-2026-55991, Remote DNS-over-QUIC (DoQ) flow-control
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:19:02 +0000 (10:19 +0200)] 
- Fix CVE-2026-55991, Remote DNS-over-QUIC (DoQ) flow-control
  assertion failure in libngtcp2. Thanks to Qifan Zhang, Palo Alto
  Networks, for the report. In addition, thanks to Xuanchao Xie,
  for also reporting this issue.

6 days ago- Fix CVE-2026-55990, Packet of death for a DNSCrypt misconfigured
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:18:41 +0000 (10:18 +0200)] 
- Fix CVE-2026-55990, Packet of death for a DNSCrypt misconfigured
  Unbound. Thanks to Qifan Zhang, Palo Alto Networks, for the report.

6 days ago- Fix CVE-2026-55973, 'dns-error-reporting: yes' leads to stack buffer
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:18:16 +0000 (10:18 +0200)] 
- Fix CVE-2026-55973, 'dns-error-reporting: yes' leads to stack buffer
  overflow. Thanks to Qifan Zhang, Palo Alto Networks, for the report.

6 days ago- Fix CVE-2026-55717, 'serve-expired-client-timeout' and 'response-ip'
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:17:32 +0000 (10:17 +0200)] 
- Fix CVE-2026-55717, 'serve-expired-client-timeout' and 'response-ip'
  CNAME redirect could lead to a crash. Thanks to Qifan Zhang, Palo
  Alto Networks, for the report. In addition, thanks to Xin Wang,
  Jiapeng Li, and Jiajia Liu, Northwestern Polytechnical University,
  for also reporting this issue.

6 days ago- Fix CVE-2026-55708, Privacy/configuration issue when adding local
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:17:10 +0000 (10:17 +0200)] 
- Fix CVE-2026-55708, Privacy/configuration issue when adding local
  data in views through 'unbound-control'. Thanks to Qifan Zhang,
  Palo Alto Networks, for the report.

6 days ago- Fix CVE-2026-54478, DNS Cookie bypass when combined with
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:16:42 +0000 (10:16 +0200)] 
- Fix CVE-2026-54478, DNS Cookie bypass when combined with
  proxy-protocol use. Thanks to Qifan Zhang, Palo Alto Networks,
  for the report.

6 days ago- Fix CVE-2026-52863, Memory corruption could lead to crash and
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:16:03 +0000 (10:16 +0200)] 
- Fix CVE-2026-52863, Memory corruption could lead to crash and
  denial of service. Thanks to Qifan Zhang, Palo Alto Networks,
  for the report.

6 days ago- Fix CVE-2026-50252, Possible cache poisoning attack by mapping
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:15:31 +0000 (10:15 +0200)] 
- Fix CVE-2026-50252, Possible cache poisoning attack by mapping
  source port population per thread. Thanks to Inbal Schussheim and
  Amit Klein, Hebrew University, for the report.

6 days ago- Fix CVE-2026-50251, Attacker supplied `0.0.0.0`/`::` glue triggers
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:15:02 +0000 (10:15 +0200)] 
- Fix CVE-2026-50251, Attacker supplied `0.0.0.0`/`::` glue triggers
  defensive full-cache flush. Thanks to Qifan Zhang, Palo Alto
  Networks, for the report.

6 days ago- Fix CVE-2026-50248, BOGUS configured primary hostname accepted for
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:14:35 +0000 (10:14 +0200)] 
- Fix CVE-2026-50248, BOGUS configured primary hostname accepted for
  XFR in auth/rpz zones. Thanks to Qifan Zhang, Palo Alto Networks,
  for the report.

6 days ago- Fix CVE-2026-50243, 'response-ip'/'rpz' can rewrite BOGUS answers
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:14:04 +0000 (10:14 +0200)] 
- Fix CVE-2026-50243, 'response-ip'/'rpz' can rewrite BOGUS answers
  instead of returning SERVFAIL. Thanks to Qifan Zhang, Palo Alto
  Networks, for the report.

6 days ago- Fix CVE-2026-50046, Possible heap use-after-free in an error path
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:13:36 +0000 (10:13 +0200)] 
- Fix CVE-2026-50046, Possible heap use-after-free in an error path
  when a DoT forwarded query is jostled out. Thanks to Qifan Zhang,
  Palo Alto Networks, for the report.

6 days ago- Fix CVE-2026-50045, 'max-global-quota' reset by DNSSEC validation
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:13:14 +0000 (10:13 +0200)] 
- Fix CVE-2026-50045, 'max-global-quota' reset by DNSSEC validation
  restarts. Thanks to Kunjie Shang, University of Science and
  Technology of China, for the report.

6 days ago- Fix CVE-2026-44690, Cross-zone wildcard cache poisoning via
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:12:38 +0000 (10:12 +0200)] 
- Fix CVE-2026-44690, Cross-zone wildcard cache poisoning via
  RRSIG.labels manipulation. Thanks to Qifan Zhang, Palo Alto
  Networks, for the report.

6 days ago- Fix CVE-2026-44687, Off-by-one error in 'harden-below-nxdomain'
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:12:03 +0000 (10:12 +0200)] 
- Fix CVE-2026-44687, Off-by-one error in 'harden-below-nxdomain'
  logic can shadow a stub/forward zone by a legitimate parent's
  NXDOMAIN. Thanks to Qifan Zhang, Palo Alto Networks, for the report.

6 days ago- Fix CVE-2026-44621, Libunbound applications configured with
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:11:26 +0000 (10:11 +0200)] 
- Fix CVE-2026-44621, Libunbound applications configured with
  'unwanted-reply-threshold' could eventually be abruptly
  terminated. Thanks to Qifan Zhang, Palo Alto Networks, for the
  report.

6 days ago- Fix CVE-2026-42955, Extra fix for CVE-2026-40622 to also clamp
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:11:04 +0000 (10:11 +0200)] 
- Fix CVE-2026-42955, Extra fix for CVE-2026-40622 to also clamp
  the TTL of A/AAAA records disallowing a one-time 'ghost domain'
  delegation renewal via glue records. Thanks to Qifan Zhang, Palo
  Alto Networks, for the report.

6 days ago- Fix CVE-2026-41637, Degradation of resolution service from
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:10:24 +0000 (10:10 +0200)] 
- Fix CVE-2026-41637, Degradation of resolution service from
  improperly accounted client-terminated DNS-over-QUIC queries. Thanks
  to Qifan Zhang, Palo Alto Networks, for the report.

6 days ago- Fix CVE-2026-40691, Packet of death for DNSCrypt over TCP. Thanks
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:09:50 +0000 (10:09 +0200)] 
- Fix CVE-2026-40691, Packet of death for DNSCrypt over TCP. Thanks
  to Qifan Zhang, Palo Alto Networks, for the report. In addition,
  thanks to Trung Nguyen (@everping) of CyStack, for also reporting
  this issue.

6 days ago- Fix CVE-2026-32665, Remote DNS-over-QUIC denial of
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:09:26 +0000 (10:09 +0200)] 
- Fix CVE-2026-32665, Remote DNS-over-QUIC denial of
  service due to `quic-size` budget bypass. Thanks to N0zoM1z0
  (https://github.com/N0zoM1z0) for the report. In addition, thanks to
  Kunta Chu, Kaihua Wang, and Jianjun Chen from Tsinghua University,
  for also reporting this issue. In addition, thanks to Qifan Zhang,
  Palo Alto Networks, for also reporting this issue. In addition,
  thanks to Xuanchao Xie, for also reporting this issue.

6 days ago- Fix CVE-2026-14586, Assertion in libngtcp2 when under pressure
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:08:48 +0000 (10:08 +0200)] 
- Fix CVE-2026-14586, Assertion in libngtcp2 when under pressure
  in high concurrency DNS-over-QUIC environments. Thanks to Kunta
  Chu, Kaihua Wang, and Jianjun Chen from Tsinghua University,
  for the report.

6 days ago- Fix CVE-2026-46582, A wildcard replay, as another piece of data,
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:07:52 +0000 (10:07 +0200)] 
- Fix CVE-2026-46582, A wildcard replay, as another piece of data,
  triggers poisoning in the serve expired reply path. Thanks to
  Qifan Zhang, Palo Alto Networks, for the report.

6 days agoSet version to 1.25.2
W.C.A. Wijngaards [Wed, 22 Jul 2026 08:06:30 +0000 (10:06 +0200)] 
Set version to 1.25.2

7 days agoChangelog note for #1476
W.C.A. Wijngaards [Tue, 21 Jul 2026 09:57:14 +0000 (11:57 +0200)] 
Changelog note for #1476
- Merge #1476 from petrvaganoff: ipsecmod: fix possible deref
  on null after reply_find_answer_rrset().

7 days agoipsecmod: fix possible deref on null after reply_find_answer_rrset() (#1476)
Petr Vaganov [Tue, 21 Jul 2026 09:56:29 +0000 (16:56 +0700)] 
ipsecmod: fix possible deref on null after reply_find_answer_rrset() (#1476)

Return value of a function 'reply_find_answer_rrset' is dereferenced at
ipsecmod.c:438 without checking for NULL, but it is usually checked for
this function (10/12).

Found by the static analyzer Svace (ISP RAS).

Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
8 days ago- Fix #1474: DoQ responses are never padded - pad-responses
W.C.A. Wijngaards [Mon, 20 Jul 2026 08:14:26 +0000 (10:14 +0200)] 
- Fix #1474: DoQ responses are never padded - pad-responses
  does not apply to comm_doq (RFC 9250 §5.4 MUST).

8 days agoChangelog entry for #1475
W.C.A. Wijngaards [Mon, 20 Jul 2026 08:05:45 +0000 (10:05 +0200)] 
Changelog entry for #1475
- Merge #1475 from petrvaganoff: ipsecmod: fix deref on null
  in ipsecmod-whitelist after OOM.

8 days agoipsecmod: fix deref on null in ipsecmod-whitelist after OOM (#1475)
Petr Vaganov [Mon, 20 Jul 2026 08:04:47 +0000 (15:04 +0700)] 
ipsecmod: fix deref on null in ipsecmod-whitelist after OOM (#1475)

DEREF_OF_NULL.RET.STAT Return value of a function 'rbtree_create'
is dereferenced at ipsecmod-whitelist.c:105 without checking for
NULL, but it is usually checked for this function (5/6).

In ipsecmod_whitelist_apply_cfg(), the return value of rbtree_create()
is not checked for NULL before being used.

Found by the static analyzer Svace (ISP RAS).

Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
2 weeks ago- Fix unit test for malformed svcb for test on Windows.
W.C.A. Wijngaards [Thu, 9 Jul 2026 07:52:09 +0000 (09:52 +0200)] 
- Fix unit test for malformed svcb for test on Windows.

2 weeks agoChangelog note and explanation comment for #1383
W.C.A. Wijngaards [Thu, 9 Jul 2026 07:21:56 +0000 (09:21 +0200)] 
Changelog note and explanation comment for #1383
- Merge #1383 from jdek: Fix randomness generation on
  macOS/iOS under chroot.

2 weeks ago- Fix randomness generation on macOS/iOS under chroot (#1383)
J. Dekker [Thu, 9 Jul 2026 07:19:42 +0000 (09:19 +0200)] 
- Fix randomness generation on macOS/iOS under chroot (#1383)

SecRandomCopyBytes() has existed since macOS 10.7 (2011) and iOS 2.0 (2008), and is the primary API for cryptographic random numbers.

3 weeks agoAdd changelog note for #1087, remove copyright line as discussed, and
W.C.A. Wijngaards [Thu, 2 Jul 2026 13:04:51 +0000 (15:04 +0200)] 
Add changelog note for #1087, remove copyright line as discussed, and
compile fixes for newer local_zones_lookup, unused variable warnings
fixed, and also manual page description of the feature.
- Merge #1087: Overload `local_data_remove` to support removing
  specific records.

3 weeks agoOverload `local_data_remove` to support removing specific records (#1087)
R. Christian McDonald [Thu, 2 Jul 2026 12:55:54 +0000 (08:55 -0400)] 
Overload `local_data_remove` to support removing specific records (#1087)

Here we overload the `local_data_remove` control command to support
deleting specific records. Curently, this command deletes all records
for a given zone. The modification works by attempting to parse the
command argument first as a complete record and then as just a domain
name, if the first attempt failed.

This preserves the command's behavior, while also supporting removing
specific records from the zone tree.

Signed-off-by: R. Christian McDonald <rcm@rcm.sh>
4 weeks ago- iana portlist updated.
W.C.A. Wijngaards [Tue, 30 Jun 2026 10:38:33 +0000 (12:38 +0200)] 
- iana portlist updated.

4 weeks ago- Fix #1469: dohclient: DoH POST missing content-length → :status
W.C.A. Wijngaards [Tue, 30 Jun 2026 10:14:00 +0000 (12:14 +0200)] 
- Fix #1469: dohclient: DoH POST missing content-length → :status
  400 from strict resolvers (Cloudflare, Mullvad).

4 weeks ago- Merge #1467: daemon: fix DEREF_AFTER_NULL.EX.COND on
W.C.A. Wijngaards [Fri, 26 Jun 2026 11:44:27 +0000 (13:44 +0200)] 
- Merge #1467: daemon: fix DEREF_AFTER_NULL.EX.COND on
  worker_init. This fixes error handling if the worker
  stat_timer allocation has an out of memory error. That
  makes the server not crash later, attempting to use it.

4 weeks agodaemon: fix DEREF_AFTER_NULL.EX.COND on worker_init (#1467)
Petr Vaganov [Fri, 26 Jun 2026 11:42:29 +0000 (18:42 +0700)] 
daemon: fix DEREF_AFTER_NULL.EX.COND on worker_init (#1467)

Found by the static analyzer Svace (ISP RAS).

After having been compared to a NULL value at worker.c:2216,
pointer 'worker->stat_timer' is passed in call to function
'worker_restart_timer' at worker.c:2319,where it is
dereferenced at worker.c:2029.

Fix that stat_timer creation failure in worker_init does
not continue with a NULL timer that causes a crash later.

Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
4 weeks ago- Merge #1465 from dag-erling: Add libunbound/remote.h. Add
W.C.A. Wijngaards [Thu, 25 Jun 2026 09:16:01 +0000 (11:16 +0200)] 
- Merge #1465 from dag-erling: Add libunbound/remote.h. Add
  a shared header containing prototypes for functions that
  both ends of a remote control connection need to implement.

4 weeks agoAdd libunbound/remote.h (#1465)
Dag-Erling Smørgrav [Thu, 25 Jun 2026 09:14:37 +0000 (11:14 +0200)] 
Add libunbound/remote.h (#1465)

Add a shared header containing prototypes for functions that both ends
of a remote control connection need to implement.

5 weeks ago- Fix warning about file_string_matches in unbound-checkconf.
W.C.A. Wijngaards [Fri, 19 Jun 2026 07:30:46 +0000 (09:30 +0200)] 
- Fix warning about file_string_matches in unbound-checkconf.

5 weeks ago- Fix to update github ci actions/checkout to v7.
W.C.A. Wijngaards [Fri, 19 Jun 2026 07:25:39 +0000 (09:25 +0200)] 
- Fix to update github ci actions/checkout to v7.

5 weeks ago- Fix for #1457: fix thread setname for thread start of
W.C.A. Wijngaards [Fri, 19 Jun 2026 06:37:23 +0000 (08:37 +0200)] 
- Fix for #1457: fix thread setname for thread start of
  dnstap, and fast_reload.

5 weeks ago- Fix memory leak on DNAME 0TTL records.
Yorgos Thessalonikefs [Wed, 17 Jun 2026 15:30:21 +0000 (17:30 +0200)] 
- Fix memory leak on DNAME 0TTL records.

5 weeks ago- Fix that fast_reload does not terminate the server if
W.C.A. Wijngaards [Wed, 17 Jun 2026 14:15:15 +0000 (16:15 +0200)] 
- Fix that fast_reload does not terminate the server if
  random init for DNS cookies fails. The data is only random
  generated if cookies are enabled, and the random data
  is necessary. Thanks to Qifan Zhang, Palo Alto Networks,
  for the report.

5 weeks ago- Fix that fast_reload does not terminate the server
W.C.A. Wijngaards [Wed, 17 Jun 2026 14:10:48 +0000 (16:10 +0200)] 
- Fix that fast_reload does not terminate the server
  on config read failure after malloc failure. Thanks to
  Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix after malloc failure for stats, then it drains the pipe
W.C.A. Wijngaards [Wed, 17 Jun 2026 14:05:45 +0000 (16:05 +0200)] 
- Fix after malloc failure for stats, then it drains the pipe
  so the internal messaging stays correct. Also it does
  not exit the server if stats pipe communication fails.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix that fast_reload does not terminate the server
W.C.A. Wijngaards [Wed, 17 Jun 2026 14:02:21 +0000 (16:02 +0200)] 
- Fix that fast_reload does not terminate the server
  on malloc failure for dnstap, or if gethostname fails.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix to check for malloc failure in rpz response create,
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:59:29 +0000 (15:59 +0200)] 
- Fix to check for malloc failure in rpz response create,
  for nodata and nxdomain, so it does not crash later.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix to check the return value of auth_xfer_create
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:57:30 +0000 (15:57 +0200)] 
- Fix to check the return value of auth_xfer_create
  during fast_reload auth-zone add and change processing.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix that malloc failure during edns subnet addrtree
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:55:33 +0000 (15:55 +0200)] 
- Fix that malloc failure during edns subnet addrtree
  insert is checked, so it does not crash later. Thanks to
  Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix that malloc failure for rpz_strip_nsdname is
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:53:28 +0000 (15:53 +0200)] 
- Fix that malloc failure for rpz_strip_nsdname is
  checked and handled, so that it does not crash later.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix that on malloc failure during accept of TCP, the
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:37:04 +0000 (15:37 +0200)] 
- Fix that on malloc failure during accept of TCP, the
  socket is not left to cause a read event loop. It uses
  slow-accept to delay accepting new connections, if
  that fails it drops the new connections. When the tcp
  connection usage is full, it waits for 50msec, to allow
  existing queries to be resolved. Thanks to Qifan Zhang,
  Palo Alto Networks, for the report.

5 weeks ago- Fix that malloc failure for ngtcp2_conn_server_new
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:33:06 +0000 (15:33 +0200)] 
- Fix that malloc failure for ngtcp2_conn_server_new
  cleans up reference that older ngtcp2 versions can leave.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix that malloc failure in doq connection setup, does
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:29:48 +0000 (15:29 +0200)] 
- Fix that malloc failure in doq connection setup, does
  not crash in doq connection delete later. Thanks to Qifan
  Zhang, Palo Alto Networks, for the report.

5 weeks ago- Fix that malloc failure for new_local_rrset for RPZ qname
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:26:56 +0000 (15:26 +0200)] 
- Fix that malloc failure for new_local_rrset for RPZ qname
  trigger RR insert does not crash. It does not link a
  partial RRset, and logs an error on failure, and cleans
  up the dname allocation. Thanks to Qifan Zhang, Palo Alto
  Networks, for the report.

5 weeks ago- Fix that malloc failure in dns64_inform_super does
W.C.A. Wijngaards [Wed, 17 Jun 2026 13:23:25 +0000 (15:23 +0200)] 
- Fix that malloc failure in dns64_inform_super does
  not set up a half-built reply for cache store, that could
  lead to a crash. Thanks to Qifan Zhang, Palo Alto Networks,
  for the report.