Description
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.
Published: 2026-10-19
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Out-of-Bounds Read
Action: Apply Patch
AI Analysis

Impact

libtins versions up to 4.6 contain an out-of-bounds read in the DNS::soa_record::init function. When an attacker supplies SOA RDATA that does not end with a NUL byte, the library uses strlen to determine the string length, which can read past the allocated buffer. This can lead to the application reading sensitive memory and potentially crashing, resulting in denial of service.

Affected Systems

The affected software is the libtins networking library, specifically all releases through 4.6. Applications that link against libtins and process DNS packets are exposed to this flaw.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. No EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the flaw remotely by sending crafted DNS packets to any service using libtins to parse SOA records. The impact is read exposure and possible crash, but the information disclosed is limited to the memory content that happens to be read by the untrusted strlen call. The lack of a code‑execution vector keeps the risk lower than an RCE, but the DoS potential means that the flaw should be mitigated promptly.

Generated by OpenCVE AI on October 19, 2026 at 15:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update libtins to a version where DNS::soa_record::init is fixed.
  • If an update is not immediately possible, modify the application to validate or trim SOA RDATA, ensuring it contains a terminating NUL byte before passing it to libtins.
  • Continuously monitor application stability and logs for segmentation faults or abnormal terminations, and apply the patch as soon as it becomes available.

Generated by OpenCVE AI on October 19, 2026 at 15:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Description 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.
Title libtins through 4.6 Out-of-Bounds Read via DNS::soa_record::init
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T17:57:12.363Z

Reserved: 2026-10-19T13:25:28.669Z

Link: CVE-2026-112274

cve-icon Vulnrichment

Updated: 2026-10-19T17:57:06.934Z

cve-icon NVD

Status : Received

Published: 2026-10-19T14:17:05.223

Modified: 2026-10-19T18:17:04.633

Link: CVE-2026-112274

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T15:45:17Z

Weaknesses