# CVE-2026-126048: Gwenhywfar 4.99.8beta before 5.14.2 Stack Buffer Overflow via GWEN_TLV_Buffer_To_DB()

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-11-10T16:58:03.611Z
- Modified: 2026-11-14T03:17:28.390Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Martin Preuss Gwenhywfar: from 4.99.8beta before 5.14.2

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/aqbanking/gwenhywfar/commit/ed8e2f8cdc27fd5c1b629cf9c1f6b93b2e009757> (patch)
- <https://github.com/aqbanking/gwenhywfar/commit/6b50388e6b4a96f02d3d56e1d7747405fa881f39> (patch)
- <https://www.aquamaniac.de/rdm/projects/gwenhywfar/files> (product)
- <https://github.com/aqbanking/gwenhywfar/blob/424949d0c6e61028eaccd6e46e4c0c41931c2b2f/src/parser/tlv.c#L629-L655> (technical-description)
- <https://www.vulncheck.com/advisories/gwenhywfar-4.99-8beta-before-5.14.2-stack-buffer-overflow-via-gwen-tlv-buffer-to-db> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126048](https://www.cve.org/CVERecord?id=CVE-2026-126048), CVE Terms of Use, modified 2026-11-14
- NVD: [CVE-2026-126048](https://nvd.nist.gov/vuln/detail/CVE-2026-126048), Public domain, modified 2026-11-14

---

Page: https://cve.day/CVE-2026-126048 · Whole record: https://cve.day/CVE-2026-126048.json · Rebuilt by cve.day 2026-11-25T22:59:49.795Z
