Obliviax, also known as Oblivion Moss or Memory Moss
While it has not yet been printed in any 5th Edition book I'm familiar with, every prior edition has had stats for some version of Obliviax.
In broad strokes, a patch of obliviax can steal memories and even memorized spells, and eating from that same patch can give the eater the stolen memories (and spells, temporarily), though the moss is mildly poisonous.
Different editions have varied about how much obliviax is a plant creature versus a simple natural hazard, as well as how far into the past the memory theft could reach. In 1e it was just a hazard you might stumble into, like green slime or poison ivy, but later editions have granted it the ability to grow an ambulatory moss simulacrum of a person whose memories have been stolen.