{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-50252 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-50252 is a medium-severity vulnerability in Nlnetlabs Unbound, published on 22 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50252 and fix it if it is affected.\n\nWhat it is: CVE-2026-50252 is a medium-severity vulnerability in Nlnetlabs Unbound, published on 22 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50252 in the wild and no public exploit code.\n\nAffected product: Nlnetlabs Unbound. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50252/ (Markdown: https://insights.sbomify.com/CVE-2026-50252/index.md)","id":"CVE-2026-50252","markdown":"https://insights.sbomify.com/CVE-2026-50252/index.md","name":"CVE-2026-50252","record":{"aliases":["ALPINE-CVE-2026-50252","ALSA-2026:68291","ALSA-2026:68292","ALSA-2026:69120","AZL-92982","CLSA-2026-1785241157","CLSA-2026-1785241895","CLSA-2026-1785409943","CLSA-2026-1785410023","CLSA-2026-1785412633","CLSA-2026-1786008652","DEBIAN-CVE-2026-50252","ECHO-a6ed-1cea-98bc","GHSA-jfgc-mgqq-r573","OESA-2026-3232","RHSA-2026:68291","RHSA-2026:68292","RHSA-2026:69120","RLSA-2026:68291","RLSA-2026:68292","RLSA-2026:69120","ROOT-OS-DEBIAN-11-CVE-2026-50252","ROOT-OS-DEBIAN-12-CVE-2026-50252","UBUNTU-CVE-2026-50252"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"DNS resolver","requires_auth":"none","summary":"Attackers can poison DNS cache by exploiting predictable source port distribution across worker threads in Unbound resolver.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLnet Labs","cpe":[{"product":"unbound","vendor":"nlnetlabs"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:H/E:P/U:Amber","version":"4.0"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"description":"In NLnet Labs Unbound 1.4.22 up to and including 1.25.1, UDP source port is randomized and intended to serve as a secret value that increases the entropy of DNS transactions. When resolver load balancing policies depend on the source port while their outcome is revealed this secrecy is undermined. The vulnerability arises when the load balancing policy is consistent with respect to the incoming source UDP port and IP address while heavily depending on the incoming source UDP port as a randomization source. When the SO_REUSEPORT configuration option is enabled ('so-reuseport: yes') in Unbound (by default), it meets these conditions, making it vulnerable for DNS cache poisoning attacks. Upon startup, Unbound randomly partitions the available UDP source port space into disjoint subsets of (almost) equal size, assigning each subset to a specific worker thread. When an incoming DNS query is received, the kernel’s SO_REUSEPORT load balancing mechanism deterministically assigns the query to a socket associated with a particular thread. All outgoing DNS queries generated during the resolution of that request use source ports selected exclusively from the port subset assigned to the corresponding thread. Since these port subsets are disjoint across threads, the source port observed in a resolver’s outgoing query to an authoritative name server serves as a reliable indicator of the worker thread that processed the original client query. A malicious actor can acquire the mapping between incoming UDP source ports (for a given fixed source IP address) and Unbound worker threads and leverage it to conduct DNS cache poisoning attacks by effectively lowering the random port population per thread.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Possible cache poisoning attack by mapping source port population per thread","id":"CVE-2026-50252","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"nlnetlabs:unbound","products":["nlnetlabs:unbound"],"type":"other","year":"2026"},"n_packages":53,"n_references":1,"next":{"headline":"OFFIS DCMTK Toolkit Missing Release of Memory after Effective Lifetime","id":"CVE-2026-50254"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/almalinux/python3-unbound","source":"ALSA-2026:68291"},{"ecosystem":"AlmaLinux:10","fixed":["1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/almalinux/unbound","source":"ALSA-2026:68291"},{"ecosystem":"AlmaLinux:10","fixed":["1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-anchor","purl":"pkg:rpm/almalinux/unbound-anchor","source":"ALSA-2026:68291"},{"ecosystem":"AlmaLinux:10","fixed":["1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/almalinux/unbound-devel","source":"ALSA-2026:68291"},{"ecosystem":"AlmaLinux:10","fixed":["1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-dracut","purl":"pkg:rpm/almalinux/unbound-dracut","source":"ALSA-2026:68291"},{"ecosystem":"AlmaLinux:10","fixed":["1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/almalinux/unbound-libs","source":"ALSA-2026:68291"},{"ecosystem":"AlmaLinux:10","fixed":["1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-utils","purl":"pkg:rpm/almalinux/unbound-utils","source":"ALSA-2026:68291"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/almalinux/python3-unbound","source":"ALSA-2026:69120"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/almalinux/unbound","source":"ALSA-2026:69120"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/almalinux/unbound-devel","source":"ALSA-2026:69120"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/almalinux/unbound-libs","source":"ALSA-2026:69120"},{"ecosystem":"AlmaLinux:9","fixed":["1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/almalinux/python3-unbound","source":"ALSA-2026:68292"},{"ecosystem":"AlmaLinux:9","fixed":["1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/almalinux/unbound","source":"ALSA-2026:68292"},{"ecosystem":"AlmaLinux:9","fixed":["1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/almalinux/unbound-devel","source":"ALSA-2026:68292"},{"ecosystem":"AlmaLinux:9","fixed":["1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"unbound-dracut","purl":"pkg:rpm/almalinux/unbound-dracut","source":"ALSA-2026:68292"},{"ecosystem":"AlmaLinux:9","fixed":["1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/almalinux/unbound-libs","source":"ALSA-2026:68292"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/redhat/python3-unbound","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"python3-unbound-debuginfo","purl":"pkg:rpm/redhat/python3-unbound-debuginfo","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/redhat/unbound","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-anchor","purl":"pkg:rpm/redhat/unbound-anchor","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-anchor-debuginfo","purl":"pkg:rpm/redhat/unbound-anchor-debuginfo","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-debuginfo","purl":"pkg:rpm/redhat/unbound-debuginfo","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-debugsource","purl":"pkg:rpm/redhat/unbound-debugsource","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/redhat/unbound-devel","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-dracut","purl":"pkg:rpm/redhat/unbound-dracut","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/redhat/unbound-libs","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-libs-debuginfo","purl":"pkg:rpm/redhat/unbound-libs-debuginfo","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-utils","purl":"pkg:rpm/redhat/unbound-utils","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.24.2-7.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"unbound-utils-debuginfo","purl":"pkg:rpm/redhat/unbound-utils-debuginfo","source":"RHSA-2026:68291"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/redhat/python3-unbound","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"python3-unbound-debuginfo","purl":"pkg:rpm/redhat/python3-unbound-debuginfo","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/redhat/unbound","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound-debuginfo","purl":"pkg:rpm/redhat/unbound-debuginfo","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound-debugsource","purl":"pkg:rpm/redhat/unbound-debugsource","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/redhat/unbound-devel","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/redhat/unbound-libs","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.14.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"unbound-libs-debuginfo","purl":"pkg:rpm/redhat/unbound-libs-debuginfo","source":"RHSA-2026:69120"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/redhat/python3-unbound","source":"RHSA-2026:68292"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"python3-unbound-debuginfo","purl":"pkg:rpm/redhat/python3-unbound-debuginfo","source":"RHSA-2026:68292"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.24.2-3.el9_8.6"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/redhat/unbound","source":"RHSA-2026:68292"}],"prev":{"headline":"Attacker supplied '0.0.0.0'/'::' glue triggers defensive full-cache flush","id":"CVE-2026-50251"},"products":["Unbound"],"published":"2026-07-22","related":[{"cvss_score":9.1,"headline":"Heap buffer overflow and possible Remote Code Execution when digesting DNSKEY","id":"CVE-2026-81642","kev_date_added":null,"published":"2026-09-16"},{"cvss_score":9.1,"headline":"Possible arbitrary code execution during DNSSEC validation","id":"CVE-2026-33278","kev_date_added":null,"published":"2026-05-20"},{"cvss_score":8.7,"headline":"Heap overflow with multiple NSID, COOKIE, PADDING EDNS options","id":"CVE-2026-42944","kev_date_added":null,"published":"2026-05-20"},{"cvss_score":8.7,"headline":"Crash during DNSSEC validation of malicious content","id":"CVE-2026-42959","kev_date_added":null,"published":"2026-05-20"},{"cvss_score":8.4,"headline":"CNAME synthesis could lead to heap corruption","id":"CVE-2026-82717","kev_date_added":null,"published":"2026-09-16"},{"cvss_score":7.5,"headline":"Possible heap buffer overflow during DNSSEC canonicalization","id":"CVE-2026-81634","kev_date_added":null,"published":"2026-09-16"},{"cvss_score":7.5,"headline":"Remote DNS-over-QUIC denial of service due to `quic-size` budget bypass","id":"CVE-2026-32665","kev_date_added":null,"published":"2026-07-22"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-22","vendors":["NLnet Labs"]},"summary":"Attackers can poison DNS cache by exploiting predictable source port distribution across worker threads in Unbound resolver.","url":"https://insights.sbomify.com/CVE-2026-50252/"}