{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.99.8beta"
                  },
                  {
                    "fixed": "5.14.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "ed8e2f8cdc27fd5c1b629cf9c1f6b93b2e009757"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "6b50388e6b4a96f02d3d56e1d7747405fa881f39"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "bff6feeb2f02e357d5df45b4e9bfd4a7eed867ee"
            },
            {
              "fixed": "f5c3f9dc56aa20cab85fd149885474239cf68632"
            },
            {
              "fixed": "ed8e2f8cdc27fd5c1b629cf9c1f6b93b2e009757"
            },
            {
              "fixed": "6b50388e6b4a96f02d3d56e1d7747405fa881f39"
            }
          ],
          "repo": "https://github.com/aqbanking/gwenhywfar",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126048.json"
  },
  "details": "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.",
  "id": "CVE-2026-126048",
  "modified": "2026-11-14T02:31:01.197249206Z",
  "published": "2026-11-10T16:58:03.611Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.aquamaniac.de/rdm/projects/gwenhywfar/files"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126048.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126048"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/gwenhywfar-4.99-8beta-before-5.14.2-stack-buffer-overflow-via-gwen-tlv-buffer-to-db"
    },
    {
      "type": "FIX",
      "url": "https://github.com/aqbanking/gwenhywfar/commit/6b50388e6b4a96f02d3d56e1d7747405fa881f39"
    },
    {
      "type": "FIX",
      "url": "https://github.com/aqbanking/gwenhywfar/commit/ed8e2f8cdc27fd5c1b629cf9c1f6b93b2e009757"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/aqbanking/gwenhywfar"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/aqbanking/gwenhywfar/blob/424949d0c6e61028eaccd6e46e4c0c41931c2b2f/src/parser/tlv.c#L629-L655"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Gwenhywfar 4.99.8beta before 5.14.2 Stack Buffer Overflow via GWEN_TLV_Buffer_To_DB()"
}