OSV-2025-1075 Stack-use-after-return in mark_alt_bonds_and_taut_groups
A stack-use-after-return vulnerability in a chemical structure library allows attackers to cause crashes or potentially execute code via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2025-1075?
OSV-2025-1075 is an use after free vulnerability in inchi, published on 3 Mar 2026.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=488729177
Crash type: Stack-use-after-return READ 2
Crash state:
mark_alt_bonds_and_taut_groups
Create_INChI
MakeOneInChIOutOfStrFromINChI
Which versions are affected by OSV-2025-1075?
1 open source package ship an affected version, including inchi.
| Package | Affected | Fixed in |
|---|---|---|
inchi OSS-Fuzz | All versions | None |
How do I fix OSV-2025-1075?
No fix has been published for OSV-2025-1075 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2025-1075 being exploited?
There is no known exploitation of OSV-2025-1075 in the wild and no public exploit code.