{"id":"UBUNTU-CVE-2023-31470","details":"SmartDNS through 41 before 56d0332 allows an out-of-bounds write because of a stack-based buffer overflow in the _dns_encode_domain function in the dns.c file, via a crafted DNS request.","modified":"2026-01-30T00:49:20.629542Z","published":"2023-04-28T21:15:00Z","withdrawn":"2025-06-23T15:56:51Z","related":["CVE-2023-31470"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-31470"},{"type":"REPORT","url":"https://github.com/pymumu/smartdns/commit/56d0332bf91104cfc877635f6c82e9348587df04"},{"type":"REPORT","url":"https://github.com/pymumu/smartdns/issues/1378"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-31470"}],"affected":[{"package":{"name":"smartdns","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/smartdns@35+dfsg-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["33+dfsg-2.1","33+dfsg-2.1build1","35+dfsg-1"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31470.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}