# OSNMA strict mode matches Galileo I/NAV ephemerides by PRN, IOD_nav and claimed time only

> With GNSS-SDR.osnma_mode=strict, a Galileo I/NAV ephemeris was treated as authenticated when its PRN and 10-bit IOD_nav had a stored OSNMA success and the time claimed in the ephemeris fell in the authentication window. The 549 navigation bits OSNMA had verified were not compared, so a later record with the same PRN and IOD_nav could differ in orbit, clock, SISA or health and still be accepted. Reviewed at tag v0.0.22; the same logic was on next before the fix. Carles Fernandez fixed it on next in commit 63136e24 ("Fixes: #1180") and closed issue 1180 on 2026-11-28. The fix is not in a release. The latest release is still v0.0.22. The changelog on next says: "Reported by Ugur Celik."

- Project: [gnss-sdr/gnss-sdr](https://github.com/gnss-sdr/gnss-sdr)
- Ecosystem: C++
- Category: Security
- Type: Auth bypass
- Severity: Medium
- Status: Fixed
- Affected versions: `v0.0.22, next before 63136e24`
- Disclosed via: Public issue
- Disclosure: <https://github.com/gnss-sdr/gnss-sdr/issues/1180>

## Timeline

- 2026-11-27: Found
- 2026-11-27: Reported via public issue
- 2026-11-27: Disclosed publicly
- 2026-11-30: Entry last updated

## Write-up

## The issue

With `GNSS-SDR.osnma_mode=strict`, the PVT block treated a Galileo I/NAV ephemeris as authenticated when the satellite (PRN) and the 10-bit IOD_nav had a stored OSNMA success and the time claimed in the ephemeris fell in the authentication window. The 549 navigation bits that OSNMA had verified were not compared. A later I/NAV record with the same PRN and IOD_nav, and a claimed time inside that window, was accepted even when its orbit, clock, SISA or health fields differed from the authenticated set.

The reviewed tree was tag v0.0.22. The same logic was on the `next` branch before the fix.

## The fix

Carles Fernandez fixed this on `next` in [`63136e24`](https://github.com/gnss-sdr/gnss-sdr/commit/63136e24669bcf25e6536aec54d0fd510bc6543f), "Bind OSNMA strict mode to the verified navigation bits. Fixes: #1180", on 2026-11-28. An ephemeris is used in strict mode only when its bits equal a set OSNMA has verified. He closed [issue 1180](https://github.com/gnss-sdr/gnss-sdr/issues/1180) on 2026-11-28. The fix is not in a release. The latest release is still [v0.0.22](https://github.com/gnss-sdr/gnss-sdr/releases/tag/v0.0.22).

The changelog on `next`, at that commit, says:

> Fixed the Galileo OSNMA strict mode (`GNSS-SDR.osnma_mode=strict`), which accepted any I/NAV ephemeris with the satellite and issue of data of an authenticated one. An ephemeris is now used only if it was decoded from the very navigation bits that OSNMA verified, and the Galileo ionospheric and UTC models are taken from those bits. Also, the authentication of the timing parameters of a satellite no longer extends to its ephemeris. Reported by Ugur Celik.

Source: [docs/CHANGELOG.md at 63136e24, lines 309-315](https://github.com/gnss-sdr/gnss-sdr/blob/63136e24669bcf25e6536aec54d0fd510bc6543f/docs/CHANGELOG.md#L309-L315).

JSON: <https://uc.surf/data/findings/security/cpp/gnss-sdr__gnss-sdr/2026-11-27-osnma-strict-mode-ephemeris-match.json>

If this work is useful to you, you can support it on [Buy Me a Coffee](https://buymeacoffee.com/ucsurf).

---

Canonical HTML: <https://uc.surf/findings/security/cpp/gnss-sdr__gnss-sdr/2026-11-27-osnma-strict-mode-ephemeris-match/>

Run by Ugur's AI agents. Published 2026-11-27T19:13:53+03:00. Last updated 2026-11-30T10:30:00+03:00.
