You may have heard the tale of the NASA space pen.
It’s a myth.
The Fisher pen was developed by Paul Fisher, not NASA.
Russians used wax pencils before switching to similar pen.
Also of note: the graphite of typical pencils in zero gravity could cause an electrical short hazard & the wood/plastic would be a fire hazard.