Home / gmrtd / gmrtd / CVE-2026-24738
CVE-2026-24738: is it exploited, and which versions of gmrtd are affected and fixed?
CVE-2026-24738 is a denial of service (resources allocated without limits) vulnerability in gmrtd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: github.com/gmrtd/gmrtd before 0.17.2 (GitHub advisory GHSA-j49h-6577-5xwq). Fixed in 0.17.2 (GitHub advisory GHSA-j49h-6577-5xwq). Severity: Medium (5.9, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2026-24738?
gmrtd ReadFile Vulnerable to Denial of Service via Excessive TLV Length Values
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.
From the CVE record by GitHub_M, last updated January 28, 2026, 15:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| gmrtd | gmrtd | < 0.17.2 |
As the CVE record by GitHub_M states it, last updated January 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/gmrtd/gmrtd | < 0.17.2 | 0.17.2 | GHSA-j49h-6577-5xwq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 29, 2026. Summary: gmrtd ReadFile Vulnerable to Denial of Service via Excessive TLV Length Values.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gmrtd | gmrtd | before 0.17.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:23 UTC.
How severe is CVE-2026-24738?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-24738 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 28, 2026)
- EPSS
- 0.28% probability of exploitation activity in the next 30 days, percentile 22.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/gmrtd/gmrtd/security/advisories/GHSA-j49h-6577-5xwq x_refsource_CONFIRM
- https://github.com/gmrtd/gmrtd/commit/54469a95e5a20a8602ac1457b2110bfeb80c8891 x_refsource_MISC
- https://github.com/gmrtd/gmrtd/releases/tag/v0.17.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 26, 2026
- Published
- January 27, 2026, 21:08 UTC
- CVE record updated
- January 28, 2026, 15:16 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:23 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-24738
Is CVE-2026-24738 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.28% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of gmrtd are affected by CVE-2026-24738?
github.com/gmrtd/gmrtd before 0.17.2, per the GitHub advisory GHSA-j49h-6577-5xwq. The tables above give every range the sources list.
Which version fixes CVE-2026-24738?
0.17.2, per the GitHub advisory GHSA-j49h-6577-5xwq. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-24738?
Medium (5.9, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-24738?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.