Bug 2458519 (CVE-2026-4893) - CVE-2026-4893 dnsmasq: Broken ECS source validation bypass
Summary: CVE-2026-4893 dnsmasq: Broken ECS source validation bypass
Keywords:
Status: NEW
Alias: CVE-2026-4893
Deadline: 2026-05-09
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-14 22:55 UTC by OSIDB Bzimport
Modified: 2026-05-26 04:57 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:19158 0 None None None 2026-05-19 16:10:35 UTC
Red Hat Product Errata RHSA-2026:19373 0 None None None 2026-05-19 21:41:12 UTC
Red Hat Product Errata RHSA-2026:20589 0 None None None 2026-05-26 04:57:27 UTC

Description OSIDB Bzimport 2026-04-14 22:55:42 UTC
In forward.c:724, process_reply() calls check_source(header, plen, pheader, query_source) but plen at this point holds the OPT record length (~23 bytes), not the packet length n. With the wrong length, all bounds checks inside check_source() fail and the function unconditionally returns 1, bypassing RFC 7871 Section 9.2 ECS source validation entirely. Fix: change plen to n in the function call.

Comment 2 errata-xmlrpc 2026-05-19 16:10:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:19158 https://access.redhat.com/errata/RHSA-2026:19158

Comment 3 errata-xmlrpc 2026-05-19 21:41:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:19373 https://access.redhat.com/errata/RHSA-2026:19373

Comment 4 errata-xmlrpc 2026-05-26 04:57:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:20589 https://access.redhat.com/errata/RHSA-2026:20589


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