Shellfeed logo Shellfeed

CVE-2026-126049 · UNKNOWN

Summary: Gwenhywfar 5.14.2 Use-After-Free via GWEN_TLV_Buffer_To_DB() Nested BER-TLV Parsing

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 9.2).

Details

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.

Severity

UNKNOWN — 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

Affected packages

  • GIT github.com/aqbanking/gwenhywfar [0 – 828b34135dfa33fc347a2929caa2f079ffb00738]

References

Posts about CVE-2026-126049