CVE-2026-126049

published 10 Nov 2026 · updated 13 Nov 2026

Gwenhywfar 5.14.2 Use-After-Free via GWEN_TLV_Buffer_To_DB() Nested BER-TLV Parsing

4.6MediumCVSS 4.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.14.3.

Gwenhywfar 5.14.2 contains a heap use-after-free vulnerability in GWEN_TLV_Buffer_To_DB() in src/parser/tlv.c, which frees a nested record's GWEN_DB node when parsing of its contents fails but continues processing and adds the freed node to the parent instead of returning. Attackers can supply a constructed BER-TLV record with unparseable contents, such as via a malicious chip card read by libchipcard, to corrupt heap memory.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Martin Preuss>=5.14.2 <5.14.35.14.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126049 severity on Zeptric[![CVE-2026-126049](https://zeptric.io/badge/cve/CVE-2026-126049.svg)](https://zeptric.io/cve/CVE-2026-126049)