Gwenhywfar 4.99.8beta before 5.14.2 Stack Buffer Overflow via GWEN_TLV_Buffer_To_DB()
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 10, 2026
- Updated
- Nov 14, 2026
- Reserved
- Nov 10, 2026
Description
Gwenhywfar 4.99.8beta before 5.14.2 contains a stack-based buffer overflow in GWEN_TLV_Buffer_To_DB() 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 EF_SSD file read by libchipcard's ZKA driver, to crash the application.
| Product | Versions |
|---|---|
| Gwenhywfar Martin Preuss | 4.99.8beta to before 5.14.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 4.6 Medium | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- https://github.com/aqbanking/gwenhywfar/commit/ed8e2f8cdc27fd5c1b629cf9c1f6b93b2e009757Patch
- https://github.com/aqbanking/gwenhywfar/commit/6b50388e6b4a96f02d3d56e1d7747405fa881f39Patch
- https://www.aquamaniac.de/rdm/projects/gwenhywfar/filesProduct Page
- https://github.com/aqbanking/gwenhywfar/blob/424949d0c6e61028eaccd6e46e4c0c41931c2b2f/src/parser/tlv.c#L629-L655Technical Details
- VulnCheck Advisory: Gwenhywfar 4.99.8beta before 5.14.2 Stack Buffer Overflow via GWEN_TLV_Buffer_To_DB()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.