{"id":"CVE-2026-27854","summary":"Use after free when parsing EDNS options in Lua","details":"An attacker might be able to trigger a use-after-free by sending crafted DNS queries to a DNSdist using the DNSQuestion:getEDNSOptions method in custom Lua code. In some cases DNSQuestion:getEDNSOptions might refer to a version of the DNS packet that has been modified, thus triggering a use-after-free and potentially a crash resulting in denial of service.","modified":"2026-05-23T22:36:06.418912Z","published":"2026-03-31T12:06:46.648Z","related":["SUSE-SU-2026:1618-1","openSUSE-SU-2026:10473-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27854.json","cna_assigner":"OX"},"references":[{"type":"WEB","url":"https://repo.powerdns.com/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27854.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27854"},{"type":"ADVISORY","url":"https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-02.html"},{"type":"PACKAGE","url":"https://github.com/PowerDNS/pdns"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/powerdns/pdns","events":[{"introduced":"89747e81bc60d7950276d5fda3ca669fa81b7cf9"},{"fixed":"4108ae9f5f169166dba3e7f386be570304dfa224"}]}],"versions":["dnsdist-2.0.2","dnsdist-2.0.1","dnsdist-2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-27854.json","vanir_signatures":[{"deprecated":false,"target":{"file":"pdns/dnswriter.cc","function":"GenericDNSPacketWriter"},"signature_type":"Function","id":"CVE-2026-27854-312fcb05","digest":{"length":765,"function_hash":"293287316270370560739180217123376195271"},"source":"https://github.com/powerdns/pdns/commit/4108ae9f5f169166dba3e7f386be570304dfa224","signature_version":"v1"},{"deprecated":false,"target":{"file":"pdns/dnswriter.cc"},"signature_type":"Line","id":"CVE-2026-27854-a6e6261c","digest":{"threshold":0.9,"line_hashes":["196750710981165019722567251179816899232","143669205714038918598695895571400411566","193390686121036593198491473821245491318","311361033607077557922361869600726807444","126645698171526315900414052326775541111","49394186405097400081296927075964031972","142730675826428073799885595095608959080","69193003306794942760983145403495782519","299764809593253226555141103474505857966","197906401537327262348174905401665059131","130038206882420215841457758935844782999","50491007501642267266985313309076392765","138671939340006314878705549103569172351","38296261983002678690814468639385234372","74788794945422197446355928159564143255","294417946066157898055004658136749549528","125342687631857503977262529962524098550","181649417601518024546151430303831592046","149319747161839550639890973534143501061","11858594431592960537250474395629773631","35566537893156477073173386529361260621","177918228035823124619155635413542849011","286605542654169391373210982676605532839","10261605748523454459972902826032563756","79511176349076475420392133562053268055","299535541127462875151653938347101220810","55802239249377074431752627016746005568","114128734507744090330089334809852234489","307197940336625241552681760767839201390","210830024964778104095334268316321976329","126607712738306559054127559515440993987"]},"source":"https://github.com/powerdns/pdns/commit/4108ae9f5f169166dba3e7f386be570304dfa224","signature_version":"v1"},{"deprecated":false,"target":{"file":"pdns/dnswriter.cc","function":"commit"},"signature_type":"Function","id":"CVE-2026-27854-a8a3535c","digest":{"length":712,"function_hash":"115917283687646797612152934500653991308"},"source":"https://github.com/powerdns/pdns/commit/4108ae9f5f169166dba3e7f386be570304dfa224","signature_version":"v1"},{"deprecated":false,"target":{"file":"pdns/dnswriter.hh"},"signature_type":"Line","id":"CVE-2026-27854-b17ae76b","digest":{"threshold":0.9,"line_hashes":["229422370193932003736801629782059731737","155625244500594211228213399035438633931","313569620401429196486420475929070083207","262258081556750556752660325064154936830","261524607193109820774511788789970753689","224840026474672431780764172292318789401","315940254261985147564291124921183973978","152360280049728807497682525989562933889","338093430369139786384801952396287736186","335789422100191491914077385506040760206","75948444701278049383198055959305260149","179667263154874884913069248495285189953"]},"source":"https://github.com/powerdns/pdns/commit/4108ae9f5f169166dba3e7f386be570304dfa224","signature_version":"v1"},{"deprecated":false,"target":{"file":"pdns/dnswriter.cc","function":"startRecord"},"signature_type":"Function","id":"CVE-2026-27854-d5d6829b","digest":{"length":579,"function_hash":"304230221040377212026235390390096623365"},"source":"https://github.com/powerdns/pdns/commit/4108ae9f5f169166dba3e7f386be570304dfa224","signature_version":"v1"}],"vanir_signatures_modified":"2026-05-23T22:36:06Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"}]}