CVE-2026-126049 Gwenhywfar 5.14.2 Use-After-Free via GWEN_TLV_Buffer_To_DB() Nested BER-TLV Parsing
MediumCVSS 5.1
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| aqbanking/gwenhywfar | >= 5.14.2, < 5.14.3 | 5.14.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| aqbanking/gwenhywfar | >= 5.14.2, < 5.14.3 | 5.14.3 |
References
- github.com patch
- github.com patch release-notes
- www.aquamaniac.de product
- github.com technical-description
- VulnCheck Advisory: Gwenhywfar 5.14.2 Use-After-Free via GWEN_TLV_Buffer_To_DB() Nested BER-TLV Parsing third-party-advisory
- ENISA EUVD EUVD-2026-121407 third-party-advisory