Bug 2564038 - CVE-2026-4890 dnsmasq: NSEC bitmap parsing infinite loop [fedora-all]
Summary: CVE-2026-4890 dnsmasq: NSEC bitmap parsing infinite loop [fedora-all]
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnsmasq
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["fef19b34-d90a-4726-bdc8-9...
: 2516039 (view as bug list)
Depends On:
Blocks: CVE-2026-4890 CVE-2026-13002
TreeView+ depends on / blocked
 
Reported: 2026-10-30 13:58 UTC by Lukas Javorsky
Modified: 2026-10-30 13:59 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lukas Javorsky 2026-10-30 13:58:55 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

NSEC/NSEC3 bitmap window iteration in dnssec.c advances by p[1] instead of p[1] + 2, missing the 2-byte window header. When bitmap_length=0, neither rdlen nor p change, creating an infinite loop. Two instances at dnssec.c:1290 and dnssec.c:1450. Reachable before RRSIG validation so no valid signatures are needed. One of the two sites was coincidentally fixed in 2.92. Fix: add +2 to both the pointer advance and rdlen decrement.

Comment 1 Lukas Javorsky 2026-10-30 13:59:26 UTC
*** Bug 2516039 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.