Advisory

UBUNTU-CVE-2026-12969

Also known as: CVE-2026-12969

Summary

The record has no summary.

Details

An out-of-bounds read vulnerability exists in dnsmasq's find_soa() function in src/rfc1035.c. When parsing NS section records, extract_name() is called with extrabytes=0, failing to validate that 10 additional bytes exist for fixed-length DNS record fields. A remote attacker controlling a DNS zone can exploit this via a crafted NXDOMAIN response to cause a 10-byte heap out-of-bounds read, potentially accessing stale data from prior transactions.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-06-23 14:17 UTC
Modified
2026-07-14 23:30 UTC

Affected packages and fixes

dnsmasq

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.90-0ubuntu0.22.04.4 (ecosystem)

Fixed versions

2.90-0ubuntu0.22.04.4

Fix

  • Fixed version 2.90-0ubuntu0.22.04.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dnsmasq

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.90-2ubuntu0.4 (ecosystem)

Fixed versions

2.90-2ubuntu0.4

Fix

  • Fixed version 2.90-2ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dnsmasq

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dnsmasq

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.92-1ubuntu0.4 (ecosystem)

Fixed versions

2.92-1ubuntu0.4

Fix

  • Fixed version 2.92-1ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences