SecurityContext

CVE-2026-126049: Gwenhywfar - Use-After-Free

  • Cve: CVE-2026-126049
  • Name: Gwenhywfar - Use-After-Free
  • 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.
  • Impact: Attackers can corrupt heap memory, potentially leading to code execution or denial of service.
  • Remediation: Update to the latest version of Gwenhywfar.
  • Vulnerability type: use_after_free
  • Requirement type: none
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 4.6
  • Cvss vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00194
  • Epss percentile: 0.08947
  • Assignee: [email protected]
  • Published at: 2026-11-10T17:17:31Z
  • Age in days: 14
  • Modified at: 2026-11-13T16:18:01Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126049
  • Nvd status: deferred
  • Checked, none or zero: vulnerability impact, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/aqbanking/gwenhywfar/blob/f5c3f9dc56aa20cab85fd149885474239cf68632/src/parser/tlv.c#L651-L672
https://github.com/aqbanking/gwenhywfar/commit/828b34135dfa33fc347a2929caa2f079ffb00738
https://github.com/aqbanking/gwenhywfar/commit/dc8b80945e877f5bdf2d2ae1b50c928c15e990b0
https://www.aquamaniac.de/rdm/projects/gwenhywfar/files
https://www.vulncheck.com/advisories/gwenhywfar-5.14.2-use-after-free-via-gwen-tlv-buffer-to-db-nested-ber-tlv-parsing

Projects

RepositoryLink kindsIndexedUrl
aqbanking/gwenhywfarcommit, fixyes/v1/repositories/aqbanking/gwenhywfar

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts