[LDPE] 1.9.05 Released (!DATA / security fix for CVE-2026-114938, java4shell)
43 minutes ago (This post was last modified: 37 minutes ago by Nils Schmidt.)
43 minutes ago (This post was last modified: 37 minutes ago by Nils Schmidt.)
Hey,
this release is the first one which fixes a security vulnerability, which can be exploited on modern CPUs with the AVX512 instruction set. It was fixed by updating the version of LDPEs included JDK.
Affected versions are 1.8.71 from Sep 2023 up to 1.9.04 from Jul 2026. If your CPU does not support AVX512 then you are not affected on older versions.
Some more deep technical background:
LDPE is able to parse Base64 encoded PNG image data from !DATA meta commands.
It verfifies if this data is really image data and not some malicous file, but before this verification can be done, it needs to decode the base64 encoded string.
LDPE uses the decode() method from the bundled Java Virtual Machine to parse the base64 string.
This decode() method however, is witten in assembly by the JDK developers and contains a bug which can cause a buffer overflow, leading to corruption on the memory stack or heap which can eventually lead to code execution or program crashes.
Taking a direct look into LDPE code:
Cheers,
Nils
![[Image: attachment.php?aid=12753]](https://forums.ldraw.org/attachment.php?aid=12753)
As always, you can download LDPE from this page:
https://nilsschmidt1337.github.io/ldparteditor/
Changelog:
(1 bug fix)
The following critical issue is fixed:
The program was tested intensively with "real world" files.
However, something can go wrong in about 140.000 lines of code.
Installation on Windows:
I listen carefully to your requests and possible complaints. Please leave me a message, with your thoughts and wishes to further improve the software.
LDPE is a 3D CAD application: The overall system requirements are higher. While I recommend to use a powerful 64-bit multicore system, it could be possible, to run LDPE on older machines as well.
System Requirements:
Minimum System Requirements:
this release is the first one which fixes a security vulnerability, which can be exploited on modern CPUs with the AVX512 instruction set. It was fixed by updating the version of LDPEs included JDK.
Affected versions are 1.8.71 from Sep 2023 up to 1.9.04 from Jul 2026. If your CPU does not support AVX512 then you are not affected on older versions.
Some more deep technical background:
LDPE is able to parse Base64 encoded PNG image data from !DATA meta commands.
It verfifies if this data is really image data and not some malicous file, but before this verification can be done, it needs to decode the base64 encoded string.
LDPE uses the decode() method from the bundled Java Virtual Machine to parse the base64 string.
This decode() method however, is witten in assembly by the JDK developers and contains a bug which can cause a buffer overflow, leading to corruption on the memory stack or heap which can eventually lead to code execution or program crashes.
Taking a direct look into LDPE code:
Code:
try {
// Don't allow more than a constant amount of chars
if (encodedString.length() <= maxLengthOfBase64String) {
final byte[] preFilteredData = Base64.getDecoder().decode(encodedString); <- here is a problem!
return filterMaliciousContent(preFilteredData);
}
} catch (IllegalArgumentException iae) {
NLogger.debug(GDataBinary.class, iae);
}Cheers,
Nils
As always, you can download LDPE from this page:
https://nilsschmidt1337.github.io/ldparteditor/
Changelog:
(1 bug fix)
The following critical issue is fixed:
- CVE-2026-114938 (called “Java4Shell”) - a security vulnerability which allows memory corruption or potential code execution on CPUs with AVX512 when parsing "0 !DATA" meta commands.
For example (this is harmless, but an attacker could refine this) "0 !DATA test.png"
"0 !: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
"0 !LPE PNG 0 0 0 0 0 0 1 1 test.png"
The program was tested intensively with "real world" files.
However, something can go wrong in about 140.000 lines of code.
Installation on Windows:
- Download and extract LDPartEditor_win32_x64.zip
- Run LDPartEditor-1.9.05.msi
- Start LDPartEditor from the start menu
- Download and extract LDPartEditor_linux_x64.zip
- Install ldparteditor_1.9.05_amd64.deb
- Start LDPartEditor from the menu or via launcher
- Download and extract LDPartEditor_mac_x64.zip
- Mount LDPartEditor-1.9.05.dmg
- Drag LDPartEditor.app to the Applications folder
- Copy ldparteditor.sh to your home folder
4a. Open a Terminal.app and run ./ldparteditor.sh
4b. Or open a Terminal.app and run /Applications/LDPartEditor.app/Contents/MacOS/LDPartEditor
I listen carefully to your requests and possible complaints. Please leave me a message, with your thoughts and wishes to further improve the software.
LDPE is a 3D CAD application: The overall system requirements are higher. While I recommend to use a powerful 64-bit multicore system, it could be possible, to run LDPE on older machines as well.
System Requirements:
Minimum System Requirements:
- OpenGL 2.1 compatible Graphics Card
- Operating System (64-bit): Windows [7 or newer], Linux [e.g. Linux Mint >=22], Mac OS X [>=14]
- CPU: Multicore-Processor e.g. Intel Core 2 Duo or AMD Athlon II (>2.0Ghz)
- RAM: 4GB
- Video-Memory: 1 GB
- Free Disk Space: 150 MB
- Operating System (64bit): Windows 7,8,10,11, Linux [e.g. Linux Mint >=22], Mac OS X [>=14]
- OpenGL 3.3 compatible Graphics Card
- CPU: Multicore-Processor with 4 cores (or more)
- RAM: >4 GB
- Video-Memory: >1 GB
- Free Disk Space: 500 MB
- For a faster start, LDPartEditor and the LDraw™ library should be installed on an SSD.