CVE-2025-24294: resolv vulnerable to DoS via insufficient DNS domain name length validation
A denial of service vulnerability has been discovered in the resolv gem bundled with Ruby.
References
- github.com/advisories/GHSA-xh69-987w-hrp8
- github.com/ruby/resolv
- github.com/ruby/resolv/commit/4c2f71b5e80826506f78417d85b38481c058fb25
- github.com/rubysec/ruby-advisory-db/blob/master/gems/resolv/CVE-2025-24294.yml
- nvd.nist.gov/vuln/detail/CVE-2025-24294
- www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294
Code Behaviors & Features
Detect and mitigate CVE-2025-24294 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →