{"id":"CVE-2026-112274","kind":"vulnerability","aliases":["CVE-2026-112274"],"related":[],"title":"libtins: out-of-bounds read in DNS SOA parsing crashes or leaks heap","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.","summary":"libtins is a C++ networking library whose DNS SOA record parser calls strlen on attacker-supplied data without checking for a NUL terminator. A remote sender can make it read past the heap buffer, which can crash the application and may expose adjacent memory.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["c++","libtins","network-tools","package"],"not_affected_if":["no-untrusted-dns-input"],"how_to_check":"- unknown","fix":"- unknown","status":"open","published_at":"2026-10-19T14:17:05+00:00","first_seen_at":"2026-10-23T21:57:18+00:00","triaged_at":"2026-10-25T04:01:42+00:00","updated_at":"2026-10-25T04:01:42+00:00","category":"package","confidence":0.5,"triage":{"at":"2026-10-25T04:01:42Z","model":"claude-haiku-5-5","output":{"fix":"- unknown","reach":"network","title":"libtins: out-of-bounds read in DNS SOA parsing crashes or leaks heap","impact":"medium","summary":"libtins is a C++ networking library whose DNS SOA record parser calls strlen on attacker-supplied data without checking for a NUL terminator. A remote sender can make it read past the heap buffer, which can crash the application and may expose adjacent memory.","category":"package","nicknames":[],"who_cares":["libtins","c++","network-tools"],"confidence":0.5,"needs_auth":"no","worst_case":"Heap over-read crashes the process and may leak nearby memory","analyst_note":"Check the NVD entry and the upstream libtins repository for the fixed version and whether a patch exists; sources gave no fixed version.","how_to_check":"- unknown","needs_analyst":true,"not_affected_if":["no-untrusted-dns-input"],"who_is_affected":"Applications that link libtins and parse DNS SOA records from untrusted network traffic through the buffer constructor of DNS::soa_record::init. Programs that do not parse DNS responses from untrusted sources, or that do not use libtins, can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000558,"input_tokens":3349,"output_tokens":446,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-112274':17A,20A '-2026':16A,19A '4.6':74C 'adjac':70B 'allow':89C 'applic':66B,115C 'attack':42B,91C,104C 'attacker-suppli':41B 'bound':5A,80C,96C 'buffer':61B,95C,118C,126C 'byte':113C 'c':21B,30B 'call':38B 'caus':120C 'check':46B 'constructor':119C 'contain':75C 'crash':11A,64B,129C 'cve':15A,18A 'data':44B,100C 'dns':8A,34B,84C 'expos':69B 'feed':106C 'heap':14A,60B,125C 'init':87C 'lack':101C 'leak':13A 'librari':32B 'libtin':1A,22B,27B,72C 'make':55B 'may':68B 'memori':71B 'network':24B,31B 'network-tool':23B 'nul':49B,102C 'out-of-bound':2A,77C 'overrun':123C 'packag':26B 'pars':10A 'parser':37B 'past':58B,94C 'possibl':128C 'raw':107C 'rdata':109C 'read':6A,57B,81C,93C 'record':36B,86C 'remot':52B,90C 'sender':53B 'soa':9A,35B,85C,99C,108C 'strlen':39B,121C 'suppli':43B,98C 'termin':50B,103C 'tool':25B 'use':116C 'vulner':82C 'whose':33B 'without':45B,110C 'zero':112C","nicknames":[],"mitigations":[],"who_affected":"Applications that link libtins and parse DNS SOA records from untrusted network traffic through the buffer constructor of DNS::soa_record::init. Programs that do not parse DNS responses from untrusted sources, or that do not use libtins, can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T14:17:05+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-112274","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112274","severity":null,"published_at":"2026-10-19T14:17:05+00:00","modified_at":"2026-10-19T21:14:14+00:00","first_seen_at":"2026-10-23T21:57:18+00:00","fetched_at":"2026-10-23T22:28:57+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}