Skip to content

← Public intelligence

Go package

github.com/gmrtd/gmrtd

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.9GoPublished

    gmrtd ReadFile Vulnerable to Denial of Service via Excessive TLV Length Values

    CVE-2026-24738 · GHSA-j49h-6577-5xwq

    Affected
    • Go github.com/gmrtd/gmrtd < 0.17.2
    Fixed in
    0.17.2· Vendor fix available
    Issue
    Unbounded TLV length in ReadFile can cause Denial of Service Summary A Denial of Service vulnerability was identified in ReadFile() where unbounded TLV length values could lead to excessive CPU and memory usage when processing data from a malicious or non-compliant NFC source. This issue has been fixed by enforcing strict limits on acceptable TLV lengths. Affected Versions - Affected: All versions prior to v0.17.2 - Fixed in: v0.17.2 Details ReadFile() processes BER-TLV encoded data returned from an NFC or APDU source via a Transceiver interface. Prior to the fix, the implementation did not enforce an upper bound on long-form TLV length values. A malicious or non-compliant NFC endpoint could advertise an excessively large length (up to 4 GB), causing the library to: - Perform a very large number of read iterations - Allocate excessive memory - Consume significant CPU resources - Block execution for an extended period While such lengths are unrealistic for compliant MRTD or ISO 7816…

    Recommended action: Upgrade to 0.17.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →