CVE-2026-126049 Details
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.
A heap use-after-free vulnerability has been identified in Gwenhywfar version 5.14.2. The issue arises in the function GWEN_TLV_Buffer_To_DB() within the file src/parser/tlv.c. When the parsing of a nested record's contents fails, the function frees the associated GWEN_DB node but continues processing, adding the freed node to the parent record instead of terminating the operation. This flaw allows attackers to manipulate heap memory by supplying a crafted BER-TLV record with unparseable contents, such as those from a malicious chip card read by libchipcard.
Users can upgrade to Gwenhywfar version 5.14.3, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 10, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Gwenhywfar | >= 5.14.2, < 5.14.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 10, 2026 | New CVE Received | [email protected] |
Volerion