# OSV-2022-515: Uncaught exception in com.github.javaparser.CommentsInserter.insertComments

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-06-27T00:01:52.994Z
- Modified: 2022-06-27T00:01:52.994Z

## Description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48408

```
Crash type: Uncaught exception
Crash state:
com.github.javaparser.CommentsInserter.insertComments
java.base/java.util.TreeMap.compare
java.base/java.util.TreeMap.addEntryToEmptyMap
```

(As written by OSS-Fuzz.)

## Affected

- javaparser (OSS-Fuzz): from b65ff06076c53e6c5c75e732a7cad98baff3a1b1 before 6aec0795bc57b716a703ee35f94df96a5efe855c

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48408> (report)

## Sources

- OSS-Fuzz: [OSV-2022-515](https://osv.dev/vulnerability/OSV-2022-515), CC-BY-4.0, modified 2022-06-27

---

Page: https://cve.day/OSV-2022-515 · Whole record: https://cve.day/OSV-2022-515.json · Rebuilt by cve.day 2026-11-25T22:56:18.855Z
