CVE-2026-35366: CWE-754: Improper Check for Unusual or Exceptional Conditions in Uutils coreutils
The printenv utility in uutils coreutils fails to display environment variables containing invalid UTF-8 byte sequences. While POSIX permits arbitrary bytes in environment strings, the uutils implementation silently skips these entries rather than printing the raw bytes. This vulnerability allows malicious environment variables (e.g., adversarial LD_PRELOAD values) to evade inspection by administrators or security auditing tools, potentially allowing library injection or other environment-based attacks to go undetected.
AI Analysis
Technical Summary
The printenv utility in uutils coreutils improperly handles environment variables with invalid UTF-8 byte sequences by skipping them rather than displaying their raw content. This improper check for unusual or exceptional conditions (CWE-754) can allow adversaries to hide malicious environment variables, such as those used for LD_PRELOAD-based library injection, from administrative inspection and security tools. The vulnerability affects version 0 of uutils coreutils and has a CVSS 3.1 base score of 4.4, reflecting limited impact with local attack vector and low complexity. No patch or official remediation level has been provided as of the publication date.
Potential Impact
The vulnerability allows malicious environment variables containing invalid UTF-8 sequences to be hidden from printenv output, potentially enabling attackers to evade detection during environment inspection. This can facilitate environment-based attacks like library injection, which may compromise system integrity or confidentiality. The impact is limited to confidentiality and integrity with no direct availability impact. Exploitation requires local access with low privileges and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should be aware that printenv may not display all environment variables, especially those with invalid UTF-8 sequences. Alternative inspection methods that do not rely on printenv or that handle raw byte sequences should be used to detect potentially malicious environment variables.
CVE-2026-35366: CWE-754: Improper Check for Unusual or Exceptional Conditions in Uutils coreutils
Description
The printenv utility in uutils coreutils fails to display environment variables containing invalid UTF-8 byte sequences. While POSIX permits arbitrary bytes in environment strings, the uutils implementation silently skips these entries rather than printing the raw bytes. This vulnerability allows malicious environment variables (e.g., adversarial LD_PRELOAD values) to evade inspection by administrators or security auditing tools, potentially allowing library injection or other environment-based attacks to go undetected.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The printenv utility in uutils coreutils improperly handles environment variables with invalid UTF-8 byte sequences by skipping them rather than displaying their raw content. This improper check for unusual or exceptional conditions (CWE-754) can allow adversaries to hide malicious environment variables, such as those used for LD_PRELOAD-based library injection, from administrative inspection and security tools. The vulnerability affects version 0 of uutils coreutils and has a CVSS 3.1 base score of 4.4, reflecting limited impact with local attack vector and low complexity. No patch or official remediation level has been provided as of the publication date.
Potential Impact
The vulnerability allows malicious environment variables containing invalid UTF-8 sequences to be hidden from printenv output, potentially enabling attackers to evade detection during environment inspection. This can facilitate environment-based attacks like library injection, which may compromise system integrity or confidentiality. The impact is limited to confidentiality and integrity with no direct availability impact. Exploitation requires local access with low privileges and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should be aware that printenv may not display all environment variables, especially those with invalid UTF-8 sequences. Alternative inspection methods that do not rely on printenv or that handle raw byte sequences should be used to detect potentially malicious environment variables.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.088Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d319fe3cd2cdd00d0b
Added to database: 4/22/2026, 4:31:15 PM
Last enriched: 4/22/2026, 4:48:37 PM
Last updated: 4/23/2026, 3:18:13 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.