{"id":"CVE-2026-126049","aliases":["CVE-2026-126049"],"related":[],"kind":"vulnerability","state":"published","title":"Gwenhywfar 5.14.2 Use-After-Free via GWEN_TLV_Buffer_To_DB() Nested BER-TLV Parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-10T16:58:04.296Z","modified":"2026-11-13T16:18:01.667Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":4.6,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"custom","introduced":"5.14.2","fixed":"5.14.3","status":"affected"}],"vendor":"Martin Preuss","product":"Gwenhywfar","repo":"https://github.com/aqbanking/gwenhywfar","source":"cvelist"}],"references":[{"url":"https://github.com/aqbanking/gwenhywfar/commit/828b34135dfa33fc347a2929caa2f079ffb00738","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aqbanking/gwenhywfar/commit/dc8b80945e877f5bdf2d2ae1b50c928c15e990b0","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.aquamaniac.de/rdm/projects/gwenhywfar/files","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aqbanking/gwenhywfar/blob/f5c3f9dc56aa20cab85fd149885474239cf68632/src/parser/tlv.c#L651-L672","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/gwenhywfar-5.14.2-use-after-free-via-gwen-tlv-buffer-to-db-nested-ber-tlv-parsing","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Deus Rex"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T15:27:41.189Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126049","url":"https://www.cve.org/CVERecord?id=CVE-2026-126049","licence":"CVE Terms of Use","modified":"2026-11-13T15:27:55.046Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126049","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126049","licence":"Public domain","modified":"2026-11-13T16:18:01.667Z"}],"updatedAt":"2026-11-25T22:59:49.795Z","epss":{"score":0.00231,"percentile":0.14921,"date":"2026-12-01T12:00:22.000Z"}}