Skip to content

java.io.EOFException: Expected to read bytes from the stream on e_sqlite3.dll when enableExperimental enabled #8242

@wilsone8

Description

@wilsone8

Describe the bug
When I run dependency-check on the e_sqlite.dll from the SourceGear.sqlite3 NuGet package with the enableExperimental flag, I get the following error:

[WARN] An error occurred while analyzing 'e_sqlite3.dll' (PE Analyzer): java.io.EOFException: Expected to read bytes from the stream

Version of dependency-check used
The problem occurs using version 12.1.8 of the cli

Log file
I couldn't create a gist of the log file for some reason (kept failing with a 500 error), but here is the relavent portion of the log file:

WARN - An error occurred while analyzing 'e_sqlite3.dll' (PE Analyzer): java.io.EOFException: Expected to read bytes from the stream
2026-01-23 13:32:15,583 org.owasp.dependencycheck.AnalysisTask:86
DEBUG -

org.owasp.dependencycheck.analyzer.exception.AnalysisException: java.io.EOFException: Expected to read bytes from the stream
at org.owasp.dependencycheck.analyzer.PEAnalyzer.analyzeDependency(PEAnalyzer.java:275)
at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.io.EOFException: Expected to read bytes from the stream
at org.boris.pecoff4j.io.DataReader.safeRead(DataReader.java:157)
at org.boris.pecoff4j.io.DataReader.skipBytes(DataReader.java:85)
at org.boris.pecoff4j.io.ResourceParser.alignDataReader(ResourceParser.java:299)
at org.boris.pecoff4j.io.ResourceParser.readStringPair(ResourceParser.java:217)
at org.boris.pecoff4j.io.ResourceParser.readStringTable(ResourceParser.java:204)
at org.boris.pecoff4j.io.ResourceParser.readStringFileInfo(ResourceParser.java:246)
at org.boris.pecoff4j.io.ResourceParser.readVersionInfo(ResourceParser.java:151)
at org.boris.pecoff4j.io.ResourceParser.readVersionInfo(ResourceParser.java:122)
at org.owasp.dependencycheck.analyzer.PEAnalyzer.analyzeDependency(PEAnalyzer.java:165)
... 7 common frames omitted
2026-01-23 13:32:15,584 org.owasp.dependencycheck.AnalysisTask:86

To Reproduce
Steps to reproduce the behavior:
A copy of the dll in question is attached to this bug report. Run dependency-check against this dll with the " --enableExperimental" flag.

e_sqlite3.zip

Expected behavior
No exception is encountered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions