---
id: CVE-2026-112274
title: 'libtins through 4.6 Out-of-Bounds Read via DNS::soa_record::init'
summary: >-
  libtins through 4.6 contains an out-of-bounds read vulnerability in
  DNS::soa_record::init that allows remote attackers to read past buffer bounds
  by supplying SOA data lacking NUL terminators. Attackers can feed raw SOA
  RDATA without a z…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-125
vendor: libtins
product: libtins
affected:
  - libtins <= 4.6
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T13:55:21.345Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112274'
references:
  - url: 'https://hackmd.io/@haindpwn/libtins-dns-name-parsing-oob-read'
  - url: 'https://github.com/mfontanini/libtins/blob/v4.6/src/dns.cpp#L698-L710'
  - url: 'https://github.com/mfontanini/libtins'
  - url: >-
      https://www.vulncheck.com/advisories/libtins-through-4.6-out-of-bounds-read-via-dns-soa-record-init
    label: >-
      VulnCheck Advisory: libtins through 4.6 Out-of-Bounds Read via
      DNS::soa_record::init
tags:
  - cve.org
ingestedAt: '2026-10-19T14:30:01.072Z'
---

## Overview

libtins through 4.6 contains an out-of-bounds read vulnerability in DNS::soa_record::init that allows remote attackers to read past buffer bounds by supplying SOA data lacking NUL terminators. Attackers can feed raw SOA RDATA without a zero byte to applications using the buffer constructor, causing strlen to overrun the heap buffer and possibly crash.

## Affected

- `libtins <= 4.6`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
