Skip to content

CVE-2026-33278 (Critical) detected in src4.0.4, src4.0.4 #360

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2026-33278 - Critical Severity Vulnerability

Vulnerable Libraries - src4.0.4, src4.0.4

src4.0.4

Library home page: https://github.com/MidnightBSD/src.git

Vulnerable Source Files (1)

/contrib/unbound/validator/val_nsec3.c

src4.0.4

Library home page: https://github.com/MidnightBSD/src.git

Vulnerable Source Files (1)

/contrib/unbound/validator/val_nsec3.c

Found in HEAD commit: 816463d989cc5839c1cca2efb5bf2503408507fb

Found in base branches: stable/4.0, master

Vulnerability Details

NLnet Labs Unbound 1.19.1 up to and including version 1.25.0 has a vulnerability in the DNSSEC validator that enables denial of service and possible remote code execution as a result of deep copying a data structure and erroneously overwriting a destination pointer. An adversary can exploit the vulnerability by controlling a malicious signed zone and querying a vulnerable Unbound. When DS sub-queries need to suspend validation due to NSEC3 computational budget exhaustion (introduced in Unbound 1.19.1), Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug overwrites the destination's pointer with the source's pointer. After the sub-query region is freed, the resumed validator dereferences this dangling pointer, triggering a crash or potentially enabling arbitrary code execution. Unbound 1.25.1 contains a patch with a fix to preserve the correct pointer when deep copying the data structure.

Publish Date: 2026-05-20

URL: CVE-2026-33278

CVSS 3 Score Details (10.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-05-20

Fix Resolution: https://github.com/NLnetLabs/unbound.git - release-1.25.1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions