Vayikra5:1

וְנֶפֶשׁ כִּי־תֶחֱטָא וְשָׁמְעָה קוֹל אָלָה וְהוּא עֵד אוֹ רָאָה אוֹ יָדָע אִם־לוֹא יַגִּיד וְנָשָׂא עֲוֺנוֹ׃

And when a soul sins in that it hears the voice of an oath, and it is a witness, having seen or known, if it does not tell, it shall bear its guilt.

Vayikra 5:1

וְנֶפֶשׁ כִּי־תֶחֱטָא וְשָׁמְעָה

Vayikra / Leviticus 5:1

וְנֶפֶשׁ כִּי־תֶחֱטָא וְשָׁמְעָה קוֹל אָלָה וְהוּא עֵד אוֹ רָאָה אוֹ יָדָע אִם־לוֹא יַגִּיד וְנָשָׂא עֲוֺנוֹ׃

And when a soul sins in that it hears the voice of an oath, and it is a witness, having seen or known, if it does not tell, it shall bear its guilt.

Pshat פְּשָׁט

The witness who kept silent

Rashi: it speaks of a witness who was adjured with an oath that if he knows testimony, he would give it. Ibn Ezra: the oath (אָלָה) is a ban under a curse, and whoever does not tell bears punishment from the Eternal, even if he forgot and later remembered.

How Rashi and Ibn Ezra explain it

Remez רֶמֶז

Where the word "mistake" is missing

Kitzur Baal HaTurim: "not (לוֹא) tell" is written with a vav, and one can read "tell him (לוֹ)": whoever has already testified does not go back and say otherwise. Da'at Zekenim: "by mistake" is not said here, to teach how grave an oath is: even its mistake counts as deliberate.

How Kitzur Ba'al HaTurim and Da'at Zekenim explain it

Drash דְּרָשׁ

Whoever is silent is a partner

Midrash Tanchuma: whoever hears the Name blasphemed and does not tell shares the blasphemer's guilt, like a thief's partner. A person does not care when his fellow is cursed, but for his own father he is ready to give his life, and the Most High is our father. And more: one may not swear even to the truth, for two thousand towns were destroyed because of true oaths.

How Midrash Tanchuma (Buber) explain it

Sod סוֹד

An oath before birth

Noam Elimelekh: the righteous person hears the voice of the oath as if hearing again the oath given before birth, and "saw or knew" is that the soul was shown all the worlds and taught the whole Torah before it forgot. Yismach Moshe: if even a crown of prayers trembles to rise to the King, all the more must the soul tremble before sin.

How Noam Elimelech and Yismach Moshe explain it