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.
Metrics
Affected Vendors & Products
References
History
Mon, 16 Nov 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Martin Preuss
Martin Preuss gwenhywfar |
|
| Vendors & Products |
Martin Preuss
Martin Preuss gwenhywfar |
Tue, 10 Nov 2026 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Gwenhywfar 5.14.2 Use-After-Free via GWEN_TLV_Buffer_To_DB() Nested BER-TLV Parsing | |
| Weaknesses | CWE-416 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-11-10T16:58:04.296Z
Updated: 2026-11-13T15:27:55.046Z
Reserved: 2026-11-10T16:53:12.633Z
Link: CVE-2026-126049
No data.
Status : Deferred
Published: 2026-11-10T17:17:31.803
Modified: 2026-11-13T16:18:01.667
Link: CVE-2026-126049
No data.