Photostructure exiftool-vendored.js
exiftool-vendored: Argument injection via newline characters in tag names
exiftool-vendored provides cross-platform Node.js access to ExifTool. Prior to 35.19.0, exiftool-vendored starts ExifTool in -stay_open True -@ - mode, where arguments are read from stdin one per line. In affected versions, several caller-supplied strings were interpolated into ExifTool arguments without rejecting line delimiters. A newline or carriage return inside one of those strings could split a single intended argument into multiple ExifTool arguments, allowing argument injection. The fix also rejects NUL bytes as unsafe control characters. Applications that pass attacker-controlled strings to affected APIs may allow an attacker to make ExifTool read files accessible to the ExifTool process, or write output to attacker-chosen file system paths accessible to that process. No remote code execution has been demonstrated. This vulnerability is fixed in 35.19.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 35.19.0
Fixed in 35.19.0
Mitigation
Upgrade exiftool-vendored.js to 35.19.0 or later.
References
- Vendor advisory github.com/photostructure/exiftool-vendored.js…
Timeline
Days relative to CVE publicationFirst public PoC 6.7 days before publication; not in CISA KEV. First PoC: Dobby153/CVE-2026-43893 (created 5 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Dobby153/CVE-2026-43893 | 5 May 2026 −6.7 d | 0 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.