Skip to content
Heist/ feed
Back to feed
HighFix available

nsd — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-12246

NSD version 4.14.0 introduced a bug where a specially crafted APL RR, with an adflength larger than permitted for the address family will overwrite the stack when the zone is written to disk, with a maximum of 111 attacker controlled bytes.

Products
nsd
Affected versions
4.1.16-1build1, 4.1.17-1, 4.1.17-1build1, 4.1.2-1, 4.1.26-1, 4.1.26-1build1, 4.1.6-1, 4.1.7-1, 4.11.1-1, 4.12.0-1, 4.13.0-6, 4.14.0-1, 4.14.2-1, 4.14.3-1, 4.15.0-1, 4.15.0-1build1, 4.3.5-1, 4.3.7-1, 4.3.8-1, 4.3.8-1build1, 4.3.9-1, 4.7.0-1, 4.8.0-1, 4.8.0-1build1, 4.8.0-1build3
Fixed versions
4.1.17-1ubuntu0.1~esm1, 4.1.26-1ubuntu0.1~esm1, 4.1.7-1ubuntu0.1~esm1, 4.14.0-1ubuntu0.1~esm1, 4.3.9-1ubuntu0.1~esm1, 4.8.0-1ubuntu0.1~esm1
CVEs
CVE-2026-12246
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:02 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-12246

core-osv · Original source

Published 25 Jun 2026, 00:00 UTC

NSD version 4.14.0 introduced a bug where a specially crafted APL RR, with an adflength larger than permitted for the address family will overwrite the stack when the zone is written to disk, with a maximum of 111 attacker controlled bytes.

osv:UBUNTU-CVE-2026-12246

nsd

Fixed versions: 4.1.7-1ubuntu0.1~esm1

nsd

Fixed versions: 4.1.17-1ubuntu0.1~esm1

nsd

Fixed versions: 4.1.26-1ubuntu0.1~esm1

nsd

Fixed versions: 4.3.9-1ubuntu0.1~esm1

nsd

Fixed versions: 4.8.0-1ubuntu0.1~esm1

nsd

Fixed versions: Not specified

nsd

Fixed versions: Not specified

nsd

Fixed versions: 4.14.0-1ubuntu0.1~esm1

Complete source record
{
  "id": "52dd98842063d05d7a26761e5ea45b9545fda8b91e956db72d5e2cd523a7d4d9",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-12246",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-12246",
    "summary": "NSD version 4.14.0 introduced a bug where a specially crafted APL RR, with an adflength larger than permitted for the address family will overwrite the stack when the zone is written to disk, with a maximum of 111 attacker controlled bytes.",
    "evidence": "osv:UBUNTU-CVE-2026-12246",
    "products": [
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.7-1ubuntu0.1~esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.1.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.1.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.1.7-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.17-1ubuntu0.1~esm1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.1.16-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.1.17-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.1.17-1build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.26-1ubuntu0.1~esm1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.1.26-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.1.26-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.3.9-1ubuntu0.1~esm1",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.3.5-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.3.7-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.3.8-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.3.8-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.3.9-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.8.0-1ubuntu0.1~esm1",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.7.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.8.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.8.0-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.8.0-1build3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.11.1-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4.12.0-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.14.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.14.2-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.14.3-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.15.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.15.0-1build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nsd",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.14.0-1ubuntu0.1~esm1",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.12.0-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.13.0-6",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.14.0-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-12246",
      "aliases": [
        "UBUNTU-CVE-2026-12246"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.7-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=esm-apps-legacy%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "4.1.2-1",
            "4.1.6-1",
            "4.1.7-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.1.7-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "nsd3",
                "binary_version": "4.1.7-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.17-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "4.1.16-1build1",
            "4.1.17-1",
            "4.1.17-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.1.17-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.26-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "4.1.26-1",
            "4.1.26-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.1.26-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.3.9-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "4.3.5-1",
            "4.3.7-1",
            "4.3.8-1",
            "4.3.8-1build1",
            "4.3.9-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.3.9-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.8.0-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "4.7.0-1",
            "4.8.0-1",
            "4.8.0-1build1",
            "4.8.0-1build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.8.0-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.11.1-1",
            "4.12.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.12.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.14.0-1",
            "4.14.2-1",
            "4.14.3-1",
            "4.15.0-1",
            "4.15.0-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.15.0-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.14.0-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "nsd",
            "purl": "pkg:deb/ubuntu/nsd?arch=source&distro=esm-apps%2Fresolute",
            "ecosystem": "Ubuntu:Pro:26.04:LTS"
          },
          "versions": [
            "4.12.0-1",
            "4.13.0-6",
            "4.14.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12246.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nsd",
                "binary_version": "4.14.0-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        }
      ],
      "modified": "2026-10-17T12:58:04.913111745Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-12246"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-12246",
        "https://ubuntu.com/security/notices/USN-8474-1",
        "https://www.cve.org/CVERecord?id=CVE-2026-12246"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-12246",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 357980,
  "published_at": "2026-06-25T00:00:00+00:00"
}