{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-24294","id":"CVE-2025-24294","title":"resolv vulnerable to DoS via insufficient DNS domain name length validation","description":"The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.\r\n\r\nAn attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the librar","descriptionLong":"The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.\r\n\r\nAn attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.\r\n\r\nThis resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.","published":"2025-07-12T03:30:40.226Z","updated":"2026-06-17T08:58:30.603Z","reserved":"2025-01-17T01:00:07.458Z","status":"Deferred","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","rating":"medium","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"high","products":["Ruby resolv"],"affectedProducts":[{"vendor":"Ruby","product":"resolv","defaultStatus":"unaffected","versions":[{"version":"0.2","status":"affected","lessThanOrEqual":"0.2.2","versionType":"custom"},{"version":"0.3.0","status":"affected","lessThanOrEqual":"0.3.0","versionType":"custom"},{"version":"0.6","status":"affected","lessThanOrEqual":"0.6.1","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"resolv","purl":"pkg:gem/resolv","ranges":["<0.2.3",">=0.4.0 <0.6.2",">=0.3.0 <0.3.1"],"fixed":["0.2.3","0.6.2","0.3.1"],"advisory":"GHSA-xh69-987w-hrp8"}],"cwes":["CWE-400","CWE-1284"],"aliases":["GHSA-xh69-987w-hrp8"],"references":[{"url":"https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/","tags":["vendor-advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24294","tags":["advisory"]},{"url":"https://github.com/ruby/resolv/commit/4c2f71b5e80826506f78417d85b38481c058fb25","tags":["web"]},{"url":"https://github.com/ruby/resolv","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resolv/CVE-2025-24294.yml","tags":["web"]},{"url":"https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00656,"epssPercentile":0.52192,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-24294","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24294","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-24294","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xh69-987w-hrp8","ok":true,"note":"GHSA-xh69-987w-hrp8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-24294","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}