---
id: CVE-2026-24028
title: >-
  An attacker might be able to trigger an out-of-bounds read by sending a
  crafted DNS response packet, when custom Lua code uses newDNSPacketOverlay to
  parse DNS packets
summary: >-
  An attacker might be able to trigger an out-of-bounds read by sending a
  crafted DNS response packet, when custom Lua code uses newDNSPacketOverlay to
  parse DNS packets. The out-of-bounds read might trigger a crash, leading to a
  denial of…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-126
vendor: powerdns
product: dnsdist
affected:
  - 'dnsdist >= 1.9.0, < 1.9.12'
  - 'dnsdist >= 2.0.0, < 2.0.3'
patched:
  - dnsdist 2.0.3
published: '2026-03-31'
updated: '2026-07-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-24028'
references:
  - url: >-
      https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-02.html
    label: security@open-xchange.com
tags:
  - nvd
epss: 0.01028
epssPercentile: 0.62098
ingestedAt: '2026-07-25T10:53:53.166Z'
---

## Overview

An attacker might be able to trigger an out-of-bounds read by sending a crafted DNS response packet, when custom Lua code uses newDNSPacketOverlay to parse DNS packets. The out-of-bounds read might trigger a crash, leading to a denial of service, or access unrelated memory, leading to potential information disclosure.

## Affected

- `dnsdist >= 1.9.0, < 1.9.12`
- `dnsdist >= 2.0.0, < 2.0.3`

## Remediation

Upgrade past the affected range:

- `dnsdist 2.0.3`
