Read the docs
TI-2026-19943 Aliases CVE-2026-24738GHSA-j49h-6577-5xwq

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

Priority LOW 26CWE-400Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

gmrtd is a Go library for reading Machine Readable Travel Documents (MRTDs). Prior to version 0.17.2, ReadFile accepts TLVs with lengths that can range up to 4GB, which can cause unconstrained resource consumption in both memory and cpu cycles. ReadFile can consume an extended TLV with lengths well outside what would be available in ICs. It can accept something all the way up to 4GB which would take too many iterations in 256 byte chunks, and would also try to allocate memory that might not be available in constrained environments like phones. Or if an API sends data to ReadFile, the same problem applies. The very small chunked read also locks the goroutine in accepting data for a very large number of iterations. projects using the gmrtd library to read files from NFCs can experience extreme slowdowns or memory consumption. A malicious NFC can just behave like the mock transceiver described above and by just sending dummy bytes as each chunk to be read, can make the receiving thread unresponsive and fill up memory on the host system. Version 0.17.2 patches the issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00281 20th percentileScored 2026-11-07
Fix Fixed gmrtd (gmrtd): 0.17.2github.com/gmrtd/gmrtd (Go): 0.17.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gmrtdgmrtdbefore 0.17.20.17.2Patch availableCNA
—github.com/gmrtd/gmrtd (Go)before 0.17.20.17.2Patch availableGHSA-j49h-6577-5xwq
  • gmrtd Vendorgmrtd Affected before 0.17.2 Fixed in 0.17.2 Patch available CNA
  • github.com/gmrtd/gmrtd (Go) Vendor— Affected before 0.17.2 Fixed in 0.17.2 Patch available GHSA-j49h-6577-5xwq

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gmrtd:gmrtd:*:*:*:*:*:go:*:*before 0.17.2Vulnerablegmrtd
  • cpe:2.3:a:gmrtd:gmrtd:*:*:*:*:*:go:*:* Versions before 0.17.2 Vulnerable ·gmrtd

Remediation

  • Fix · CNA gmrtd (gmrtd) Fixed in 0.17.2
  • Fix · GHSA-j49h-6577-5xwq github.com/gmrtd/gmrtd (Go) Fixed in 0.17.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-24738
  2. 2026-10-03 Alias added: GHSA-j49h-6577-5xwq

References

Sources