Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify service exposing ParseFile on a request path
-
DeliverySend repeated requests triggering ParseFile
-
ExploitFile descriptors accumulate without GC reclamation
-
ExecutionProcess fd table reaches OS EMFILE limit
-
PersistService fails all file/socket operations
-
ImpactDenial of service achieved
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup on lifecycle end
|
| Exploitation Conditions | Exploitation requires that the consuming Go application calls schema.ParseFile (from go.opentelemetry.io/otel/schema/v1.0 or v1.1) repeatedly within the same process lifetime, and that an attacker can trigger or influence the frequency of those calls - for example, through a network-accessible hot-reload endpoint, a request-driven schema validation path, or a scheduler that re-parses schemas on demand. The vulnerability does not exist in applications that call ParseFile only once at startup. Limiting factors include: (1) no CVSS vector is published, so authentication requirements are not confirmed from available data; (2) Go's garbage collector may reclaim leaked descriptors during normal GC cycles, masking the bug under typical workloads - the PoC disables GC with GOGC=off to reliably reproduce; (3) the OS file descriptor limit (ulimit -n, commonly 1024 or higher in production) determines how many leaks are required to cause failure. The bug is inert in short-lived processes or batch jobs. |
| Impact | No CVSS vector or score is available for this CVE, so all severity inference is drawn from the description, CWE, and PoC evidence. The vulnerability is a local-process resource exhaustion issue: it cannot be triggered remotely unless the consuming application exposes schema re-parsing through a network-reachable code path (e.g., a hot-reload endpoint or request-driven schema validation). Attack complexity is effectively low once that precondition is met, as the PoC demonstrates consistent EMFILE failure within ~250 iterations at a 256-descriptor limit. Impact is limited strictly to availability (DoS) of the affected process - no confidentiality or integrity impact is described or implied. The absence of a CVSS score and KEV listing, combined with the narrow exploitation precondition (application must expose ParseFile to repeated attacker-influenced calls), places real-world risk in the low-to-medium range. The existence of a publicly available PoC artifact (leak_poc.go in validation-artifact.zip) elevates urgency slightly for applications matching the exploitation conditions. EPSS data is not provided; given the niche exploitation path, widespread exploitation is unlikely. |
| Exploit ScenarioDerived | An attacker interacts with a long-running Go service that exposes a schema reload or validation endpoint backed by schema.ParseFile. By repeatedly triggering that endpoint - either directly or through automated tooling - the attacker causes the process to leak one file descriptor per request. After enough iterations (dependent on the OS fd limit and process baseline), the process receives EMFILE and can no longer open files or sockets, effectively taking the service offline. The publicly available PoC (leak_poc.go) demonstrates this reaching failure within ~248 iterations under a 256-descriptor limit with GC disabled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
File descriptor exhaustion in go.opentelemetry.io/otel/schema v1.0 and v1.1 enables denial of service against long-running Go processes. The ParseFile function in schema/v1.0/parser.go opens schema files via os.Open but never closes them - neither via defer nor by transferring ownership to the downstream Parse(io.Reader) call - leaving descriptors open until the Go garbage collector finalizes the file object. Publicly available exploit code exists demonstrating that repeated ParseFile calls accumulate leaked descriptors until the process receives EMFILE ('too many open files'), disrupting all subsequent file, socket, and descriptor operations. Exploitation is contingent on an application exposing ParseFile invocation to attacker-controlled or attacker-triggered paths.
RemediationAI
Upgrade both go.opentelemetry.io/otel/schema/v1.0 and go.opentelemetry.io/otel/schema/v1.1 to version 0.0.17, which is the vendor-released patch per the GitHub advisory at https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-995v-fvrw-c78m. Run 'go get go.opentelemetry.io/otel/schema@v0.0.17' and update go.sum accordingly. If upgrading immediately is not possible, the primary compensating control is to ensure ParseFile is never called on a hot path or in response to external input - restrict schema parsing to startup-time initialization only, so descriptors are bounded and effectively static for the process lifetime. This eliminates the accumulation vector without code changes, but the trade-off is loss of runtime schema reloading capability. Raising the OS file descriptor limit (ulimit -n) delays but does not prevent exhaustion and is not a viable long-term workaround for high-throughput applications.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected packages are go.opentelemetry.io/otel/schema/v1.0 and go.opentelemetry.io/otel/schema/v1.1, both at versions <= 0.0.16 (CPE: pkg:go/go.opentelemetry.io_otel_schema_v1.0 and pkg:go/go.opentelemetry.io_otel_schema_v1.1). The root cause maps to CWE-772 (Missing Release of Resource after Effective Lifetime). In schema/v1.0/parser.go lines 41-47, ParseFile calls os.Open to obtain a *os.File, then immediately returns Parse(file) - a function that accepts only an io.Reader interface and has no mechanism to close the underlying file. Because Parse receives an interface value (not ownership of the file descriptor), and no defer file.Close() or explicit close path exists in ParseFile, the descriptor remains open until the Go runtime GC finalizes the *os.File object. Under normal GC cadence this may be tolerable, but with GOGC=off or under memory pressure where GC is infrequent, descriptors accumulate rapidly. The bug was introduced in commit e72a235 of the opentelemetry-go repository.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Primary rating from Vendor (https://github.com/open-telemetry/opentelemetry-go) · only source for this CVE.
CVSS VectorVendor: https://github.com/open-telemetry/opentelemetry-go
Lifecycle Timeline
1DescriptionCVE.org
Summary
go.opentelemetry.io/otel/schema/v1.0 and go.opentelemetry.io/otel/schema/v1.1 leaks one file descriptor on each successful ParseFile call. ParseFile opens the schema file and passes it to Parse without closing it; repeated parsing in a long-running process can exhaust the process file descriptor limit and cause denial of service. The severity is low because exploitation depends on a consuming application exposing repeated schema parsing to an attacker-controlled path.
Introduced in commit: e72a235
Details
In schema/v1.0/parser.go:41-47, ParseFile opens the requested schema path with os.Open and then returns Parse(file) without a defer file.Close() or other close path:
file, err := os.Open(schemaFilePath)
if err != nil {
return nil, err
}
return Parse(file)The validation evidence also identifies schema/v1.0/parser.go:50-73: Parse accepts an io.Reader, decodes from it, and does not close it. Ownership of the opened file is therefore not transferred to Parse, leaving the descriptor open until the Go runtime eventually finalizes the file object. With repeated ParseFile calls, descriptors can accumulate until the process receives EMFILE / "too many open files".
PoC
The local artifact validation-artifact.zip contains:
leak_poc.go: PoC source that repeatedly callsschema.ParseFile("schema/v1.0/testdata/valid-example.yaml")and prints/proc/self/fdcounts.LEAK_POC_README.txt: reproduction notes.leak_poc_run.log: captured attempted run; the local offline environment failed before execution because Go module download fromproxy.golang.orgwas forbidden.
Reproduce from the root of a checkout of pellared/opentelemetry-go at commit e72a235 with Go module dependencies already available:
/bin/sh -c 'ulimit -n 256; GOGC=off go run leak_poc.go'Configuration:
- File descriptor soft limit:
256 - Garbage collection: disabled with
GOGC=offso leaked descriptors are not reclaimed during the loop - Schema file:
schema/v1.0/testdata/valid-example.yaml
Expected output is increasing descriptor counts followed by an EMFILE failure, for example:
iter 0 fds 7
iter 50 fds 57
iter 100 fds 107
...
panic: iteration 248: open schema/v1.0/testdata/valid-example.yaml: too many open filesThe exact initial descriptor count and failing iteration can vary by OS and process state.
Impact
This is a file descriptor resource leak leading to availability loss. Applications that call schema.ParseFile repeatedly, especially through a runtime reload or request-controlled path, can exhaust their process file descriptor table and fail subsequent file, socket, or other descriptor operations. Impact is limited to denial of service of the consuming process; the evidence does not show confidentiality or integrity impact.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-34291
GHSA-995v-fvrw-c78m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB