CVE-2026-126048: Gwenhywfar 4.99.8beta before 5.14.2 Stack Buffer Overflow via GWEN_TLV_Buffer_To_DB()
Gwenhywfar 4.99.8beta before 5.14.2 contains a stack-based buffer overflow in GWENTLVBufferToDB() in src/parser/tlv.c when decoding BER-TLV tags into a fixed 128-byte buffer. Attackers can supply a record with about 127 or more tag continuation bytes or a truncated multi-byte tag, such as via a malicious chip card's EFSSD file read by libchipcard's ZKA driver, to crash the application.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Gwenhywfarto a version that resolves this vulnerability.Fixed in 5.14.2