BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2002-2040 in Qnx Rtos

High 7.2 Public exploit reported

The (1) phrafx and (2) phgrafx-startup programs in QNX realtime operating system (RTOS) 4.25 and 6.1.0 do not properly drop privileges before executing the system command, which allows local users to execute arbitrary commands by modifying the PATH environment variable to reference a malicious crttrap program.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.07.2
EPSS1.1%
EPSS percentile65th
FixUnknown

Requires local access, low complexity.

Affected products and versions

VendorProductAffected versions
Qnx Rtos 4.25 6.1.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

The (1) phrafx and (2) phgrafx-startup programs in QNX realtime operating system (RTOS) 4.25 and 6.1.0 do not properly drop privileges before executing the system command, which allows local users to execute arbitrary commands by modifying the PATH environment variable to reference a malicious crttrap program.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2002-2040
BreachSpider IDBS-2002-GLOBAL-158722-H
CVSS vectorAV:L/AC:L/Au:N/C:C/I:C/A:C
Published2002-12-31
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

The phrafx and phgrafx-startup programs in QNX RTOS 4.25 and 6.1.0 do not properly drop privileges before executing system commands, allowing local users to execute arbitrary commands by manipulating the PATH environment variable.

Local users can exploit this vulnerability by modifying the PATH environment variable to point to a malicious crttrap program. This allows them to execute arbitrary commands with elevated privileges.

Questions

What is CVE-2002-2040?

The phrafx and phgrafx-startup programs in QNX RTOS 4.25 and 6.1.0 do not properly drop privileges before executing system commands, allowing local users to execute arbitrary commands by manipulating the PATH environment variable.

What is the CVSS score for CVE-2002-2040?

CVE-2002-2040 has CVSS 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. EPSS: 1.1%.

Is CVE-2002-2040 actively exploited?

Public exploit available for CVE-2002-2040. Exploitation risk elevated.

How do I remediate CVE-2002-2040?

Priority: HIGH.

What systems are affected by CVE-2002-2040?

CVE-2002-2040 affects Qnx Rtos.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Qnx","product":"Rtos","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.