CVE catalog

CVE-2024-1931

unbound affected and fixed versions

[CVE catalog]

NLnet Labs Unbound version 1.18.0 up to and including version 1.19.1 contain a vulnerability that can cause denial of service by a certain code path that can lead to an infinite loop. Unbound 1.18.0 introduced a feature that removes EDE records from responses with size higher than the client's advertised buffer size. Before removing all the EDE records however, it would try to see if trimming the extra text fields on those records would result in an acceptable size while still retaining the EDE codes. Due to an unchecked condition, the code that trims the text of the EDE records could loop indefinitely. This happens when Unbound would reply with attached EDE information on a positive reply and the client's buffer size is smaller than the needed space to include EDE records. The vulnerability can only be triggered when the 'ede: yes' option is used; non default configuration. From version 1.19.2 on, the code is fixed to avoid looping indefinitely.

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.52% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "unbound",
      "status": "fixed",
      "release": "sid",
      "version": "1.26.2-1"
    },
    {
      "name": "unbound",
      "status": "fixed",
      "release": "forky",
      "version": "1.26.2-1"
    },
    {
      "name": "unbound",
      "status": "fixed",
      "release": "trixie",
      "version": "1.22.0-2+deb13u3"
    },
    {
      "name": "unbound",
      "status": "fixed",
      "release": "trixie-security",
      "version": "1.26.2-0+deb13u1"
    },
    {
      "name": "unbound",
      "status": "not affected",
      "release": "bookworm",
      "version": "1.17.1-2+deb12u4"
    },
    {
      "name": "unbound",
      "status": "not affected",
      "release": "bookworm-security",
      "version": "1.17.1-2+deb12u3"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "unbound",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.19.2-1"
    },
    {
      "bug": null,
      "name": "unbound",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.19.2-1"
    },
    {
      "bug": null,
      "name": "unbound",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.19.2-1"
    },
    {
      "bug": null,
      "name": "unbound",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": "0"
    }
  ],
  "distribution_packages": [
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.17",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.18",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.19",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.20",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.21",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.22",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.23",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.18.0"
            },
            {
              "fixed": "1.19.2-r0"
            }
          ]
        }
      ],
      "release": "3.24",
      "versions": [],
      "ecosystem": "apk",
      "fixed_version": "1.19.2-r0",
      "provider_record_id": "ALPINE-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.19.2-1ubuntu1"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.17.1-2",
        "1.18.0-2ubuntu1",
        "1.18.0-2ubuntu2",
        "1.19.1-1ubuntu1"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.19.2-1ubuntu1",
      "provider_record_id": "UBUNTU-CVE-2024-1931"
    },
    {
      "name": "unbound",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.19.2-1.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "fixed_version": "1.19.2-1.1",
      "provider_record_id": "OPENSUSE-SU-2024:13762-1"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libunbound8]Unknown

    Source package: [unbound]

    Details (4)
    • 1.17.1-2+deb12u4 · amd64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u4 · arm64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

  • Source package: [unbound]

    Details (4)
    • 1.17.1-2+deb12u4 · amd64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u4 · arm64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

  • Source package: [unbound]

    Details (4)
    • 1.17.1-2+deb12u4 · amd64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u4 · arm64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

  • [unbound]Unknown
    Details (4)
    • 1.17.1-2+deb12u4 · amd64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u4 · arm64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

  • Source package: [unbound]

    Details (4)
    • 1.17.1-2+deb12u4 · amd64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u4 · arm64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

  • [unbound-host]Unknown

    Source package: [unbound]

    Details (4)
    • 1.17.1-2+deb12u4 · amd64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u4 · arm64 · bookworm

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

    • 1.17.1-2+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · unbound · debian · bookworm

[Debian 13 (Trixie)]

  • [libunbound8]Unknown

    Source package: [unbound]

    Details (6)
    • 1.22.0-2+deb13u3 · amd64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.1-0+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.2-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

  • Source package: [unbound]

    Details (6)
    • 1.22.0-2+deb13u3 · amd64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.1-0+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.2-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

  • Source package: [unbound]

    Details (6)
    • 1.22.0-2+deb13u3 · amd64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.1-0+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.2-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

  • [unbound]Unknown
    Details (6)
    • 1.22.0-2+deb13u3 · amd64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.1-0+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.2-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

  • Source package: [unbound]

    Details (6)
    • 1.22.0-2+deb13u3 · amd64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.1-0+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.2-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

  • [unbound-host]Unknown

    Source package: [unbound]

    Details (6)
    • 1.22.0-2+deb13u3 · amd64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.22.0-2+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.1-0+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

    • 1.26.2-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.2-1

      dsa · unbound · debian · 13

[openSUSE Tumbleweed]

  • [libunbound8]Unknown

    Source package: [unbound]

    Details (1)
    • 1.26.0-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.2-1.1

      Version impact unknown

      dsa · unbound · opensuse · tumbleweed

  • Source package: [unbound]

    Details (1)
    • 1.26.0-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.2-1.1

      Version impact unknown

      dsa · unbound · opensuse · tumbleweed

  • [unbound]Unknown

    Source package: [unbound]

    Details (1)
    • 1.26.0-2.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.19.2-1.1

      dsa · unbound · opensuse · tumbleweed

  • Source package: [unbound]

    Details (1)
    • 1.26.0-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.2-1.1

      Version impact unknown

      dsa · unbound · opensuse · tumbleweed

  • [unbound-devel]Unknown

    Source package: [unbound]

    Details (1)
    • 1.26.0-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.2-1.1

      Version impact unknown

      dsa · unbound · opensuse · tumbleweed

  • [unbound-munin]Unknown

    Source package: [unbound]

    Details (1)
    • 1.26.0-2.1 · noarch · tumbleweed

      Unknown · Fixed: 1.19.2-1.1

      Version impact unknown

      dsa · unbound · opensuse · tumbleweed

Observed:

References