SCA: security update for github.com/gmrtd/gmrtd (GHSA-j49h-6577-5xwq)

medium Tenable Cloud Security Plugin ID 437380

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-24738)

See Also

https://github.com/advisories/GHSA-j49h-6577-5xwq

Plugin Details

Severity: Medium

ID: 437380

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/29/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

Vector: CVSS2#AV:A/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-24738

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.9

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/27/2026

Vulnerability Publication Date: 1/27/2026

Reference Information

CVE: CVE-2026-24738