Out-of-bounds Write The advisory has been revoked - it doesn't affect any version of package smartdns  (opens in a new tab)


Threat Intelligence

EPSS
1.12% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-SMARTDNS-5499765
  • published24 Mar 2025
  • disclosed28 Apr 2023

Introduced: 28 Apr 2023

CVE-2023-31470  (opens in a new tab)
CWE-787  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:22.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream smartdns package and not the smartdns package as distributed by Ubuntu.

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.