Skip to contentSkip to conversation

package/c-ares: security bump to 1.34.9

PATCH Applied Thomas Perale via buildroot 1 participant 3 messages Oct 25 – Oct 30

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/c-ares: security bump to 1.34.9

This align with the version of python-pycares bumped in [1].

See the release notes:

- https://github.com/c-ares/c-ares/releases#release-v1.34.9
- https://github.com/c-ares/c-ares/releases#release-v1.34.8
- https://github.com/c-ares/c-ares/releases#release-v1.34.7

This fixes the following vulnerabilities:

- CVE-2026-33630 - GHSA-6wfj-rwm7-3542: Use-after-free / double-free in c-ares' query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP.
https://github.com/c-ares/c-ares/security/advisories/GHSA-6wfj-rwm7-3542

- GHSA-pjmc-gx33-gc76: CPU-exhaustion denial of service via unbounded DNS name compression pointer chains.
https://github.com/c-ares/c-ares/security/advisories/GHSA-pjmc-gx33-gc76

- GHSA-jv8r-gqr9-68wj: Memory-amplification denial of service via unvalidated DNS header record counts. Please see
https://github.com/c-ares/c-ares/security/advisories/GHSA-jv8r-gqr9-68wj

- GHSA-wpr3-8q3r-4q8c: Memory corruption when an application cancels its lookups after a connection failure.
https://github.com/c-ares/c-ares/security/advisories/GHSA-wpr3-8q3r-4q8c

- GHSA-fqh5-3x7m-wp44: A DNS reply that arrived from a different server than the one queried could be accepted.
https://github.com/c-ares/c-ares/security/advisories/GHSA-fqh5-3x7m-wp44

- GHSA-97vq-4mxv-7vhm: Use-after-free of a lookup after shutting down a failed connection.
https://github.com/c-ares/c-ares/security/advisories/GHSA-97vq-4mxv-7vhm

- GHSA-rf6g-ww74-97qh: Use-after-free when an application cancels lookups from a callback, or shuts a channel down.
https://github.com/c-ares/c-ares/security/advisories/GHSA-rf6g-ww74-97qh

- GHSA-mw23-pfg6-2x9r: Use-after-free of a connection after the socket-state callback returns.
https://github.com/c-ares/c-ares/security/advisories/GHSA-mw23-pfg6-2x9r

- GHSA-v33j-65h4-4ch8: Use-after-free when an application cancels lookups from a server-state callback.
https://github.com/c-ares/c-ares/security/advisories/GHSA-v33j-65h4-4ch8

- GHSA-pj7p-v3cw-hq66: Use-after-free of a server record when an application changes its DNS servers from a callback.
https://github.com/c-ares/c-ares/security/advisories/GHSA-pj7p-v3cw-hq66

- GHSA-grv7-fq5q-9vfc: Use-after-free of a cached DNS answer while the application is still reading it.
https://github.com/c-ares/c-ares/security/advisories/GHSA-grv7-fq5q-9vfc

- GHSA-ph6c-3cvx-mq6v: Buffer overflow when ares_dup() or ares_save_options() runs while another thread changes the servers.
https://github.com/c-ares/c-ares/security/advisories/GHSA-ph6c-3cvx-mq6v

- GHSA-cfcv-8v2j-qj6r: Uninitialized memory returned for a numeric IPv6 name with a prefix length.
https://github.com/c-ares/c-ares/security/advisories/GHSA-cfcv-8v2j-qj6r

- GHSA-wrgc-prmw-27xh: The query cache could return an answer obtained using different EDNS options.
https://github.com/c-ares/c-ares/security/advisories/GHSA-wrgc-prmw-27xh

[1] 728ea9f901 package/python-pycares: bump to version 5.2.1

---
 package/c-ares/c-ares.hash | 2 +-
 package/c-ares/c-ares.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/c-ares/c-ares.hash +1 -1
index 7bf4163e55..8459c18393 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256  912dd7cc3b3e8a79c52fd7fb9c0f4ecf0aaa73e45efda880266a2d6e26b84ef5  c-ares-1.34.6.tar.gz
+sha256  9364b70a12eb59a06830fb488d9357f90100dff0d98b23ea3593a183d43e6f2f  c-ares-1.34.9.tar.gz
 
 # Hash for license file
 sha256  460f5e768fda3752ca2169a95df062578a10fb126bfd65f3b9b1a1bed2f84807  LICENSE.md
package/c-ares/c-ares.mk +1 -1
index 1653b16c28..b977c3a122 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-C_ARES_VERSION = 1.34.6
+C_ARES_VERSION = 1.34.9
 C_ARES_SITE = https://github.com/c-ares/c-ares/releases/download/v$(C_ARES_VERSION)
 C_ARES_INSTALL_STAGING = YES
 C_ARES_CONF_OPTS = --with-random=/dev/urandom
Signature · 6 lines
2.56.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 77 lines · Thomas Perale via buildroot

This align with the version of python-pycares bumped in [1].

See the release notes:

- https://github.com/c-ares/c-ares/releases#release-v1.34.9
- https://github.com/c-ares/c-ares/releases#release-v1.34.8
- https://github.com/c-ares/c-ares/releases#release-v1.34.7

This fixes the following vulnerabilities:

- CVE-2026-33630 - GHSA-6wfj-rwm7-3542: Use-after-free / double-free in c-ares' query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP.

https://github.com/c-ares/c-ares/security/advisories/GHSA-6wfj-rwm7-3542

- GHSA-pjmc-gx33-gc76: CPU-exhaustion denial of service via unbounded DNS name compression pointer chains.

https://github.com/c-ares/c-ares/security/advisories/GHSA-pjmc-gx33-gc76

- GHSA-jv8r-gqr9-68wj: Memory-amplification denial of service via unvalidated DNS header record counts. Please see

https://github.com/c-ares/c-ares/security/advisories/GHSA-jv8r-gqr9-68wj

- GHSA-wpr3-8q3r-4q8c: Memory corruption when an application cancels its
lookups after a connection failure.

https://github.com/c-ares/c-ares/security/advisories/GHSA-wpr3-8q3r-4q8c

- GHSA-fqh5-3x7m-wp44: A DNS reply that arrived from a different server than the one queried could be accepted.

https://github.com/c-ares/c-ares/security/advisories/GHSA-fqh5-3x7m-wp44

- GHSA-97vq-4mxv-7vhm: Use-after-free of a lookup after shutting down a failed connection.

https://github.com/c-ares/c-ares/security/advisories/GHSA-97vq-4mxv-7vhm

- GHSA-rf6g-ww74-97qh: Use-after-free when an application cancels lookups from a callback, or shuts a channel down.

https://github.com/c-ares/c-ares/security/advisories/GHSA-rf6g-ww74-97qh

- GHSA-mw23-pfg6-2x9r: Use-after-free of a connection after the socket-state callback returns.

https://github.com/c-ares/c-ares/security/advisories/GHSA-mw23-pfg6-2x9r

- GHSA-v33j-65h4-4ch8: Use-after-free when an application cancels lookups from a server-state callback.

https://github.com/c-ares/c-ares/security/advisories/GHSA-v33j-65h4-4ch8

- GHSA-pj7p-v3cw-hq66: Use-after-free of a server record when an application changes its DNS servers from a callback.

https://github.com/c-ares/c-ares/security/advisories/GHSA-pj7p-v3cw-hq66

- GHSA-grv7-fq5q-9vfc: Use-after-free of a cached DNS answer while the application is still reading it.

https://github.com/c-ares/c-ares/security/advisories/GHSA-grv7-fq5q-9vfc

- GHSA-ph6c-3cvx-mq6v: Buffer overflow when ares_dup() or ares_save_options() runs while another thread changes the servers.

https://github.com/c-ares/c-ares/security/advisories/GHSA-ph6c-3cvx-mq6v

- GHSA-cfcv-8v2j-qj6r: Uninitialized memory returned for a numeric IPv6 name with a prefix length.

https://github.com/c-ares/c-ares/security/advisories/GHSA-cfcv-8v2j-qj6r

Quoted 8 lines

- GHSA-wrgc-prmw-27xh: The query cache could return an answer obtained using different EDNS options.

https://github.com/c-ares/c-ares/security/advisories/GHSA-wrgc-prmw-27xh

[1] 728ea9f901 package/python-pycares: bump to version 5.2.1

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Thomas Perale via buildroot

In reply of:

Quoted 63 lines

This align with the version of python-pycares bumped in [1].

See the release notes:

- https://github.com/c-ares/c-ares/releases#release-v1.34.9
- https://github.com/c-ares/c-ares/releases#release-v1.34.8
- https://github.com/c-ares/c-ares/releases#release-v1.34.7

This fixes the following vulnerabilities:

- CVE-2026-33630 - GHSA-6wfj-rwm7-3542: Use-after-free / double-free in c-ares' query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP.
https://github.com/c-ares/c-ares/security/advisories/GHSA-6wfj-rwm7-3542

- GHSA-pjmc-gx33-gc76: CPU-exhaustion denial of service via unbounded DNS name compression pointer chains.
https://github.com/c-ares/c-ares/security/advisories/GHSA-pjmc-gx33-gc76

- GHSA-jv8r-gqr9-68wj: Memory-amplification denial of service via unvalidated DNS header record counts. Please see
https://github.com/c-ares/c-ares/security/advisories/GHSA-jv8r-gqr9-68wj

- GHSA-wpr3-8q3r-4q8c: Memory corruption when an application cancels its lookups after a connection failure.
https://github.com/c-ares/c-ares/security/advisories/GHSA-wpr3-8q3r-4q8c

- GHSA-fqh5-3x7m-wp44: A DNS reply that arrived from a different server than the one queried could be accepted.
https://github.com/c-ares/c-ares/security/advisories/GHSA-fqh5-3x7m-wp44

- GHSA-97vq-4mxv-7vhm: Use-after-free of a lookup after shutting down a failed connection.
https://github.com/c-ares/c-ares/security/advisories/GHSA-97vq-4mxv-7vhm

- GHSA-rf6g-ww74-97qh: Use-after-free when an application cancels lookups from a callback, or shuts a channel down.
https://github.com/c-ares/c-ares/security/advisories/GHSA-rf6g-ww74-97qh

- GHSA-mw23-pfg6-2x9r: Use-after-free of a connection after the socket-state callback returns.
https://github.com/c-ares/c-ares/security/advisories/GHSA-mw23-pfg6-2x9r

- GHSA-v33j-65h4-4ch8: Use-after-free when an application cancels lookups from a server-state callback.
https://github.com/c-ares/c-ares/security/advisories/GHSA-v33j-65h4-4ch8

- GHSA-pj7p-v3cw-hq66: Use-after-free of a server record when an application changes its DNS servers from a callback.
https://github.com/c-ares/c-ares/security/advisories/GHSA-pj7p-v3cw-hq66

- GHSA-grv7-fq5q-9vfc: Use-after-free of a cached DNS answer while the application is still reading it.
https://github.com/c-ares/c-ares/security/advisories/GHSA-grv7-fq5q-9vfc

- GHSA-ph6c-3cvx-mq6v: Buffer overflow when ares_dup() or ares_save_options() runs while another thread changes the servers.
https://github.com/c-ares/c-ares/security/advisories/GHSA-ph6c-3cvx-mq6v

- GHSA-cfcv-8v2j-qj6r: Uninitialized memory returned for a numeric IPv6 name with a prefix length.
https://github.com/c-ares/c-ares/security/advisories/GHSA-cfcv-8v2j-qj6r

Quoted 7 lines

- GHSA-wrgc-prmw-27xh: The query cache could return an answer obtained using different EDNS options.
https://github.com/c-ares/c-ares/security/advisories/GHSA-wrgc-prmw-27xh

[1] 728ea9f901 package/python-pycares: bump to version 5.2.1

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 21 lines
---
 package/c-ares/c-ares.hash | 2 +-
 package/c-ares/c-ares.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/c-ares/c-ares.hash +1 -1
index 7bf4163e55..8459c18393 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256  912dd7cc3b3e8a79c52fd7fb9c0f4ecf0aaa73e45efda880266a2d6e26b84ef5  c-ares-1.34.6.tar.gz
+sha256  9364b70a12eb59a06830fb488d9357f90100dff0d98b23ea3593a183d43e6f2f  c-ares-1.34.9.tar.gz
 
 # Hash for license file
 sha256  460f5e768fda3752ca2169a95df062578a10fb126bfd65f3b9b1a1bed2f84807  LICENSE.md
package/c-ares/c-ares.mk +0 -0
index 1653b16c28..b977c3a122 100644

package/c-ares/c-ares.mk line 10

Quoted 8 lines
package/c-ares/c-ares.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-C_ARES_VERSION = 1.34.6
+C_ARES_VERSION = 1.34.9
 C_ARES_SITE = https://github.com/c-ares/c-ares/releases/download/v$(C_ARES_VERSION)
 C_ARES_INSTALL_STAGING = YES
 C_ARES_CONF_OPTS = --with-random=/dev/urandom

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot