Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-126049
VULNERABILITY

CVE-2026-126049

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.1
Severity
MEDIUM
Vector
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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

Timeline

Published
Nov 10, 2026 17:17
Modified
Nov 13, 2026 16:18
Last observed
Nov 13, 2026 12:00

CWE

CWE-416

References