{"schemaVersion":3,"id":"CVE-2026-46727","aliases":["UBUNTU-CVE-2026-46727","openSUSE-SU-2026:10839-1"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in Ruby 4 before 4.0.5. A race condition leading to a use-after-free in the pthread-based getaddrinfo timeout handler (rb_getaddrinfo in ext/socket/raddrinfo.c) allows a remote attacker who can delay DNS responses near the user-specified timeout to crash a Ruby process that calls Addrinfo.getaddrinfo(..., timeout:) or Socket.tcp(..., resolv_timeout:). Memory-corruption-based exploitation is theoretically possible. The attack could, for example, be carried out through a crafted authoritative DNS server or recursive resolver.","dates":{"published":"2026-05-22T00:00:00.000Z","modified":"2026-05-22T18:41:39.767Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00488,"percentile":0.4103,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.00999999999999994,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00478},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00488,"percentile":0.4103}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00478,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00488,"percentile":0.4103}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"ubuntu","product":"jruby","name":"jruby","label":"jruby","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jruby","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby2.3","name":"ruby2.3","label":"ruby2.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby2.3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby2.5","name":"ruby2.5","label":"ruby2.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby2.5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby2.7","name":"ruby2.7","label":"ruby2.7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby2.7","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby3.0","name":"ruby3.0","label":"ruby3.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby3.0","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby3.2","name":"ruby3.2","label":"ruby3.2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby3.2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby3.3","name":"ruby3.3","label":"ruby3.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby3.3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ruby4.0&distro=openSUSE Tumbleweed","name":"ruby4.0","label":"ruby4.0&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ruby4.0&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 4.0.5-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.5-1.1","eol":null,"hubHref":null},{"vendor":"ruby-lang","product":"ruby","name":"ruby","label":"ruby","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.0.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"ruby","label":"Ruby","category":"lang"}},"hubHref":"/vendor/ruby-lang/ruby"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackerone.com/reports/3607434","label":"hackerone.com/reports/3607434","hostname":"hackerone.com","tags":["REPORT","Permissions Required"]},{"url":"https://www.ruby-lang.org/en/news/2026/05/20/getaddrinfo-cve-2026-46727/","label":"www.ruby-lang.org/en/news/2026/05/20/getaddrinfo-cve-2026-46727/","hostname":"www.ruby-lang.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-46727","label":"ubuntu.com/security/CVE-2026-46727","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46727","label":"www.cve.org/CVERecord?id=CVE-2026-46727","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2026-46727","label":"www.suse.com/security/cve/CVE-2026-46727","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-22T18:41:39.767Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T17:39:53.883Z","stale":false,"partial":false}}