CVE catalog

CVE-2009-2957

dnsmasq: CVE-2009-2957

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
15.78% · Oct 25, 2026

Heap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, might allow remote attackers to execute arbitrary code via a long filename in a TFTP packet, as demonstrated by a read (aka RRQ) request.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandnsmasqsid2.93-3fixed
Debiandnsmasqforky2.93-3fixed
Debiandnsmasqtrixie2.91-1+deb13u2fixed
Debiandnsmasqtrixie-security2.91-1+deb13u1fixed
Debiandnsmasqbookworm2.90-4~deb12u2fixed
Debiandnsmasqbookworm-security2.90-4~deb12u2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandnsmasqsourcesid2.50-1not yet assignedNot reportedNot reported
Debiandnsmasqsourceforky2.50-1not yet assignedNot reportedNot reported
Debiandnsmasqsourcetrixie2.50-1not yet assignedNot reportedNot reported
Debiandnsmasqsourcebookworm2.50-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [dnsmasq]Unknown
    Details (4)
    • 2.90-4~deb12u2 · all · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · all · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

  • [dnsmasq-base]Unknown

    Source package: [dnsmasq]

    Details (4)
    • 2.90-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

  • Source package: [dnsmasq]

    Details (4)
    • 2.90-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

  • [dnsmasq-utils]Unknown

    Source package: [dnsmasq]

    Details (4)
    • 2.90-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

    • 2.90-4~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · bookworm; dsa · dnsmasq · debian · 12

[Debian 13 (Trixie)]

  • [dnsmasq]Unknown
    Details (4)
    • 2.91-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

  • [dnsmasq-base]Unknown

    Source package: [dnsmasq]

    Details (4)
    • 2.91-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

  • Source package: [dnsmasq]

    Details (4)
    • 2.91-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

  • [dnsmasq-utils]Unknown

    Source package: [dnsmasq]

    Details (4)
    • 2.91-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

    • 2.91-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.50-1

      dsa · dnsmasq · debian · 13

Observed:

References