CVE-2026-126049

Source
https://cve.org/CVERecord?id=CVE-2026-126049
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126049.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126049
Published
2026-11-10T16:58:04Z
Modified
2026-11-17T10:00:11Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Gwenhywfar 5.14.2 Use-After-Free via GWEN_TLV_Buffer_To_DB() Nested BER-TLV Parsing
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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126049.json"
}
References

Affected packages

Git / github.com/aqbanking/gwenhywfar

Affected ranges

Type
GIT
Repo
https://github.com/aqbanking/gwenhywfar
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "5.14.2"
                },
                {
                    "fixed":  "5.14.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "828b34135dfa33fc347a2929caa2f079ffb00738"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "dc8b80945e877f5bdf2d2ae1b50c928c15e990b0"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

5.*
5.14.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126049.json"